Aracılığıyla paylaş


TvInteractiveAppView.TvInteractiveAppCallback.OnStateChanged Method

Definition

This is called when the state of corresponding interactive app is changed.

[Android.Runtime.Register("onStateChanged", "(Ljava/lang/String;II)V", "GetOnStateChanged_Ljava_lang_String_IIHandler", ApiSince=33)]
public virtual void OnStateChanged (string iAppServiceId, int state, int err);
[<Android.Runtime.Register("onStateChanged", "(Ljava/lang/String;II)V", "GetOnStateChanged_Ljava_lang_String_IIHandler", ApiSince=33)>]
abstract member OnStateChanged : string * int * int -> unit
override this.OnStateChanged : string * int * int -> unit

Parameters

iAppServiceId
String

The ID of the TV interactive app service bound to this view.

state
Int32

the current state.

err
Int32

the error code for error state. TvInteractiveAppManager#ERROR_NONE is used when the state is not TvInteractiveAppManager#INTERACTIVE_APP_STATE_ERROR.

Attributes

Remarks

This is called when the state of corresponding interactive app is changed.

Java documentation for android.media.tv.interactive.TvInteractiveAppView.TvInteractiveAppCallback.onStateChanged(java.lang.String, int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to