TvInputService.Session.OnAppPrivateCommand(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.
Processes a private command sent from the application to the TV input.
[Android.Runtime.Register("onAppPrivateCommand", "(Ljava/lang/String;Landroid/os/Bundle;)V", "GetOnAppPrivateCommand_Ljava_lang_String_Landroid_os_Bundle_Handler", ApiSince=24)]
public virtual void OnAppPrivateCommand (string action, Android.OS.Bundle? data);
[<Android.Runtime.Register("onAppPrivateCommand", "(Ljava/lang/String;Landroid/os/Bundle;)V", "GetOnAppPrivateCommand_Ljava_lang_String_Landroid_os_Bundle_Handler", ApiSince=24)>]
abstract member OnAppPrivateCommand : string * Android.OS.Bundle -> unit
override this.OnAppPrivateCommand : string * Android.OS.Bundle -> unit
Parameters
- action
- String
Name of the command to be performed. This <em>must</em> be a scoped name, i.e. prefixed with a package name you own, so that different developers will not create conflicting commands.
- data
- Bundle
Any data to include with the command.
- Attributes
Remarks
Processes a private command sent from the application to the TV input. This can be used to provide domain-specific features that are only known between certain TV inputs and their clients.
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.