語言

Notification.MessagingStyle.Message.GetMessagesFromBundleArray 方法

定義

回傳從給定組合清單讀取的訊息清單,例如

[Android.Runtime.Register("getMessagesFromBundleArray", "([Landroid/os/Parcelable;)Ljava/util/List;", "", ApiSince=30)]
public static System.Collections.Generic.IList<Android.App.Notification.MessagingStyle.Message> GetMessagesFromBundleArray(Android.OS.IParcelable[]? bundles);
[<Android.Runtime.Register("getMessagesFromBundleArray", "([Landroid/os/Parcelable;)Ljava/util/List;", "", ApiSince=30)>]
static member GetMessagesFromBundleArray : Android.OS.IParcelable[] -> System.Collections.Generic.IList<Android.App.Notification.MessagingStyle.Message>

參數

bundles
IParcelable[]

可分包:此值可能是空值。

傳回

System.Collections.Generic.IList<Android.App.Notification.MessageagingStyle.Message> 由此 API 回傳。

屬性

備註

回傳從給定的組合清單讀取的訊息清單,例如 Notification.EXTRA_MESSAGES 或 Notification.EXTRA_HISTORIC_MESSAGES。

Android 參考資料。android.app.Notification.MessagingStyle.Message.getMessagesFromBundleArray

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於