Share via


TvInputService.Session.SendTvInputSessionData(String, Bundle) Method

Definition

Sends data related to this session to corresponding linked android.media.tv.ad.TvAdService object via TvAdView.

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

Parameters

type
String

data type

data
Bundle

the related data values

Attributes

Remarks

Sends data related to this session to corresponding linked android.media.tv.ad.TvAdService object via TvAdView.

Methods like #notifyBroadcastInfoResponse(BroadcastInfoResponse) sends the related data to linked android.media.tv.interactive.TvInteractiveAppService, but don't work for android.media.tv.ad.TvAdService. The method is used specifically for android.media.tv.ad.TvAdService use cases.

Java documentation for android.media.tv.TvInputService.Session.sendTvInputSessionData(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