次の方法で共有


TvInputService.RecordingSession.OnAppPrivateCommand(String, Bundle) Method

Definition

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.

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