NotificationManager.GetActiveNotifications 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
활성 알림 목록을 복구합니다. 사용자가 아직 해제하지 않은 호출 앱에 의해 게시되었거나 앱에서 취소(String,int)한 알림입니다.
[Android.Runtime.Register("getActiveNotifications", "()[Landroid/service/notification/StatusBarNotification;", "GetGetActiveNotificationsHandler", ApiSince=23)]
public virtual Android.Service.Notification.StatusBarNotification[]? GetActiveNotifications();
[<Android.Runtime.Register("getActiveNotifications", "()[Landroid/service/notification/StatusBarNotification;", "GetGetActiveNotificationsHandler", ApiSince=23)>]
abstract member GetActiveNotifications : unit -> Android.Service.Notification.StatusBarNotification[]
override this.GetActiveNotifications : unit -> Android.Service.Notification.StatusBarNotification[]
반품
StatusBarNotification의 배열입니다.
- 특성
설명
활성 알림 목록을 복구합니다. 사용자가 아직 해제하지 않은 호출 앱에 의해 게시되었거나 앱에서 취소(String,int)한 알림입니다. StatusBarNotification 개체( getTag() 및 getId()를 통해(getTag() 및 getId()를 통해)에 제공된 원래 태그 및 ID와 원래 알림 개체의 복사본(StatusBarNotification.getNotification()을 통해)을 포함합니다.
From Build.VERSION_CODES. Q는 NotificationManager.notifyAsPackage(String, String,int,Notification)를 통해 앱의 알림 대리자로 게시한 알림도 반환합니다.
에 대한 android.app.NotificationManager.getActiveNotificationsAndroid 참조
이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.