Most visited

Recently visited

AnimatedTexture.OnLoadComplete

public static interface AnimatedTexture.OnLoadComplete

com.viro.core.AnimatedTexture.OnLoadComplete


Callback interface for responding to an AnimatedTexture's lifecycle events.

Summary

Public methods

abstract void onFailure(String error)

Invoked when the AnimatedTexture has failed to load.

abstract void onSuccess(AnimatedTexture video)

Invoked when the AnimatedTexture is loaded and ready to be animated.

Public methods

onFailure

void onFailure (String error)

Invoked when the AnimatedTexture has failed to load.

Parameters
error String: The error message.

onSuccess

void onSuccess (AnimatedTexture video)

Invoked when the AnimatedTexture is loaded and ready to be animated.

Parameters
video AnimatedTexture: The AnimatedTexture containing the GIF to be animated.

Hooray!