Sdílet prostřednictvím


TvRecordingClient.SendAppPrivateCommand(String, Bundle) Method

Definition

Sends a private command to the underlying TV input.

[Android.Runtime.Register("sendAppPrivateCommand", "(Ljava/lang/String;Landroid/os/Bundle;)V", "GetSendAppPrivateCommand_Ljava_lang_String_Landroid_os_Bundle_Handler", ApiSince=24)]
public virtual void SendAppPrivateCommand (string action, Android.OS.Bundle? data);
[<Android.Runtime.Register("sendAppPrivateCommand", "(Ljava/lang/String;Landroid/os/Bundle;)V", "GetSendAppPrivateCommand_Ljava_lang_String_Landroid_os_Bundle_Handler", ApiSince=24)>]
abstract member SendAppPrivateCommand : string * Android.OS.Bundle -> unit
override this.SendAppPrivateCommand : string * Android.OS.Bundle -> unit

Parameters

action
String

The name of the private command to send. 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

An optional bundle to send with the command.

Attributes

Remarks

Sends a private command to the underlying TV input. This can be used to provide domain-specific features that are only known between certain clients and their TV inputs.

Java documentation for android.media.tv.TvRecordingClient.sendAppPrivateCommand(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