TvInputService.Session.SendTvInputSessionData(String, Bundle) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.