MediaController.TransportControls.SendCustomAction メソッド

定義

オーバーロード

SendCustomAction(PlaybackState+CustomAction, Bundle)
SendCustomAction(String, Bundle)

カスタム アクションから id と args を送信して、 MediaSession を実行します。

SendCustomAction(PlaybackState+CustomAction, Bundle)

[Android.Runtime.Register("sendCustomAction", "(Landroid/media/session/PlaybackState$CustomAction;Landroid/os/Bundle;)V", "")]
public void SendCustomAction (Android.Media.Session.PlaybackState.CustomAction customAction, Android.OS.Bundle? args);
[<Android.Runtime.Register("sendCustomAction", "(Landroid/media/session/PlaybackState$CustomAction;Landroid/os/Bundle;)V", "")>]
member this.SendCustomAction : Android.Media.Session.PlaybackState.CustomAction * Android.OS.Bundle -> unit

パラメーター

args
Bundle
属性

注釈

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象

SendCustomAction(String, Bundle)

カスタム アクションから id と args を送信して、 MediaSession を実行します。

[Android.Runtime.Register("sendCustomAction", "(Ljava/lang/String;Landroid/os/Bundle;)V", "")]
public void SendCustomAction (string action, Android.OS.Bundle? args);
[<Android.Runtime.Register("sendCustomAction", "(Ljava/lang/String;Landroid/os/Bundle;)V", "")>]
member this.SendCustomAction : string * Android.OS.Bundle -> unit

パラメーター

action
String

MediaSession指定された のPlaybackState.CustomActionアクション識別子。

args
Bundle

このカスタム アクションの に指定する MediaSession 省略可能な引数。

属性

注釈

カスタム アクションから id と args を送信して、 MediaSession を実行します。

の Java ドキュメント android.media.session.MediaController.TransportControls.sendCustomAction(java.lang.String, android.os.Bundle)

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象