SandboxedSdkProvider.InitSdkCallback

public static interface SandboxedSdkProvider.InitSdkCallback

android.app.sdksandbox.SandboxedSdkProvider.InitSdkCallback


Callback for tracking the status of initializing the SDK.

This callback is created by the SDK sandbox, SDKs should use it to notify the SDK sandbox about the status of initialization.

Summary

Public methods

abstract void onInitSdkError(String errorMessage)

If SDK failed to initialize, it must call this method on the callback object.

abstract void onInitSdkFinished(Bundle params)

Called when sdk is successfully loaded.

Public methods

onInitSdkError

public abstract void onInitSdkError (String errorMessage)

If SDK failed to initialize, it must call this method on the callback object.

Parameters
errorMessage String: a String description of the error This value may be null.

onInitSdkFinished

public abstract void onInitSdkFinished (Bundle params)

Called when sdk is successfully loaded.

After SDK successfully initialized, it must call this method on the callback object.

Parameters
params Bundle: list of params to be passed to the client application This value cannot be null.