Package com.meawallet.mtp
Interface MeaGetAssetListener
-
public interface MeaGetAssetListener
Interface describing the various getAsset remote request events.App developers should create a local instance of this class and pass it to
MeaTokenPlatform.getAsset(String, MeaGetAssetListener)
to listen for events.onFailure(Object)
andonSuccess(MeaMediaContent[])
are invoked on the Main / UI thread after the background computation finishes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onFailure(T2 error)
Called when operation failed.void
onSuccess(MeaMediaContent[] assetMediaContents)
Called when operation completed successfully.
-
-
-
Method Detail
-
onSuccess
@UiThread void onSuccess(@NonNull MeaMediaContent[] assetMediaContents)
Called when operation completed successfully.- Parameters:
assetMediaContents
- The assetMeaMediaContent
array.
-
onFailure
@UiThread void onFailure(@NonNull T2 error)
Called when operation failed.- Parameters:
error
- The error or error array.
-
-