共用方式為


Notification.MediaStyle.SetRemotePlaybackInfo Method

Definition

Overloads

SetRemotePlaybackInfo(ICharSequence, Int32, PendingIntent)
SetRemotePlaybackInfo(String, Int32, PendingIntent)

SetRemotePlaybackInfo(ICharSequence, Int32, PendingIntent)

[Android.Runtime.Register("setRemotePlaybackInfo", "(Ljava/lang/CharSequence;ILandroid/app/PendingIntent;)Landroid/app/Notification$MediaStyle;", "GetSetRemotePlaybackInfo_Ljava_lang_CharSequence_ILandroid_app_PendingIntent_Handler", ApiSince=34)]
public virtual Android.App.Notification.MediaStyle SetRemotePlaybackInfo (Java.Lang.ICharSequence deviceName, int iconResource, Android.App.PendingIntent? chipIntent);
[<Android.Runtime.Register("setRemotePlaybackInfo", "(Ljava/lang/CharSequence;ILandroid/app/PendingIntent;)Landroid/app/Notification$MediaStyle;", "GetSetRemotePlaybackInfo_Ljava_lang_CharSequence_ILandroid_app_PendingIntent_Handler", ApiSince=34)>]
abstract member SetRemotePlaybackInfo : Java.Lang.ICharSequence * int * Android.App.PendingIntent -> Android.App.Notification.MediaStyle
override this.SetRemotePlaybackInfo : Java.Lang.ICharSequence * int * Android.App.PendingIntent -> Android.App.Notification.MediaStyle

Parameters

deviceName
ICharSequence
iconResource
Int32
chipIntent
PendingIntent

Returns

Attributes

Applies to

SetRemotePlaybackInfo(String, Int32, PendingIntent)

public Android.App.Notification.MediaStyle SetRemotePlaybackInfo (string deviceName, int iconResource, Android.App.PendingIntent? chipIntent);
member this.SetRemotePlaybackInfo : string * int * Android.App.PendingIntent -> Android.App.Notification.MediaStyle

Parameters

deviceName
String
iconResource
Int32
chipIntent
PendingIntent

Returns

Applies to