Udostępnij za pośrednictwem


TvInteractiveAppService.Session.NotifySessionStateChanged Method

Definition

Notifies when the session state is changed.

[Android.Runtime.Register("notifySessionStateChanged", "(II)V", "GetNotifySessionStateChanged_IIHandler", ApiSince=33)]
public virtual void NotifySessionStateChanged (int state, int err);
[<Android.Runtime.Register("notifySessionStateChanged", "(II)V", "GetNotifySessionStateChanged_IIHandler", ApiSince=33)>]
abstract member NotifySessionStateChanged : int * int -> unit
override this.NotifySessionStateChanged : int * int -> unit

Parameters

state
Int32

the current session 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

Notifies when the session state is changed.

Java documentation for android.media.tv.interactive.TvInteractiveAppService.Session.notifySessionStateChanged(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