Notification.MessagingStyle.Message.GetMessagesFromBundleArray 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回从给定捆绑列表中读取的消息列表,例如Notification.EXTRA_MESSAGES或Notification.EXTRA_HISTORIC_MESSAGES。
[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[]
可包裹:此值可能为 null。
返回
此 API 返回的 System.Collections.Generic.IList<Android.App.Notification.MessagingStyle.Message> 。
- 特性
注解
返回从给定捆绑列表中读取的消息列表,例如Notification.EXTRA_MESSAGES或Notification.EXTRA_HISTORIC_MESSAGES。
Android 参考。android.app.Notification.MessagingStyle.Message.getMessagesFromBundleArray
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。