MediaController.TransportControls.SendCustomAction メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
SendCustomAction(PlaybackState+CustomAction, Bundle) | |
SendCustomAction(String, Bundle) |
カスタム アクションから id と args を送信して、 |
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
パラメーター
- customAction
- PlaybackState.CustomAction
- 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
を実行します。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。