Share via


TvInputService.Session.OnTvAdSessionData(String, Bundle) Method

Definition

Called when data from the linked android.media.tv.ad.TvAdService is received.

[Android.Runtime.Register("onTvAdSessionData", "(Ljava/lang/String;Landroid/os/Bundle;)V", "GetOnTvAdSessionData_Ljava_lang_String_Landroid_os_Bundle_Handler", ApiSince=36)]
public virtual void OnTvAdSessionData(string type, Android.OS.Bundle data);
[<Android.Runtime.Register("onTvAdSessionData", "(Ljava/lang/String;Landroid/os/Bundle;)V", "GetOnTvAdSessionData_Ljava_lang_String_Landroid_os_Bundle_Handler", ApiSince=36)>]
abstract member OnTvAdSessionData : string * Android.OS.Bundle -> unit
override this.OnTvAdSessionData : string * Android.OS.Bundle -> unit

Parameters

type
String

the type of the data

data
Bundle

a bundle contains the data received

Attributes

Remarks

Called when data from the linked android.media.tv.ad.TvAdService is received.

Java documentation for android.media.tv.TvInputService.Session.onTvAdSessionData(java.lang.String, android.os.Bundle).

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