次の方法で共有


PlaybackState.Builder.AddCustomAction Method

Definition

Overloads

AddCustomAction(PlaybackState+CustomAction)
AddCustomAction(String, String, Int32)

AddCustomAction(PlaybackState+CustomAction)

[Android.Runtime.Register("addCustomAction", "(Landroid/media/session/PlaybackState$CustomAction;)Landroid/media/session/PlaybackState$Builder;", "")]
public Android.Media.Session.PlaybackState.Builder AddCustomAction (Android.Media.Session.PlaybackState.CustomAction customAction);
[<Android.Runtime.Register("addCustomAction", "(Landroid/media/session/PlaybackState$CustomAction;)Landroid/media/session/PlaybackState$Builder;", "")>]
member this.AddCustomAction : Android.Media.Session.PlaybackState.CustomAction -> Android.Media.Session.PlaybackState.Builder

Parameters

Returns

Attributes

Remarks

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

AddCustomAction(String, String, Int32)

[Android.Runtime.Register("addCustomAction", "(Ljava/lang/String;Ljava/lang/String;I)Landroid/media/session/PlaybackState$Builder;", "")]
public Android.Media.Session.PlaybackState.Builder AddCustomAction (string action, string name, int icon);
[<Android.Runtime.Register("addCustomAction", "(Ljava/lang/String;Ljava/lang/String;I)Landroid/media/session/PlaybackState$Builder;", "")>]
member this.AddCustomAction : string * string * int -> Android.Media.Session.PlaybackState.Builder

Parameters

action
String
name
String
icon
Int32

Returns

Attributes

Remarks

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