Notification.MessagingStyle.Message.GetMessagesFromBundleArray 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳從給定組合清單讀取的訊息清單,例如
[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 所創建與分享的作品,並依授權條款所描述的使用進行修改。