Notification.MediaStyle.SetRemotePlaybackInfo Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
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
Параметры
- deviceName
- ICharSequence
- iconResource
- Int32
- chipIntent
- PendingIntent
Возвращаемое значение
- Атрибуты
Применяется к
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
Параметры
- deviceName
- String
- iconResource
- Int32
- chipIntent
- PendingIntent