Interface DataMoveListener

com.yandex.mapkit.offline_cache

public interface DataMoveListener

Attention.

This feature is not available in the free MapKit version.

Listener for the information about operations.

Methods

void onDataMoveCompleted()

Called when the request is completed.

void onDataMoveError(@NonNull Error error)

Called when an error occurs.

void onDataMoveProgress(int percent)

Called when the operation makes progress.

Method Detail

onDataMoveCompleted

public void onDataMoveCompleted ()

Called when the request is completed.

onDataMoveError

public void onDataMoveError (@NonNull Error error)

Called when an error occurs.

onDataMoveProgress

public void onDataMoveProgress (int percent)

Called when the operation makes progress.

Percent is the rate of completion in the range of 0 to 100.