NotificationManager.Notify 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
| 속성 | Description |
|---|---|
| Notify(Int32, Notification) |
상태 표시줄에 표시할 알림을 게시합니다. |
| Notify(String, Int32, Notification) |
상태 표시줄에 표시할 알림을 게시합니다. |
Notify(Int32, Notification)
상태 표시줄에 표시할 알림을 게시합니다.
[Android.Runtime.Register("notify", "(ILandroid/app/Notification;)V", "GetNotify_ILandroid_app_Notification_Handler")]
public virtual void Notify(int id, Android.App.Notification? notification);
[<Android.Runtime.Register("notify", "(ILandroid/app/Notification;)V", "GetNotify_ILandroid_app_Notification_Handler")>]
override this.Notify : int * Android.App.Notification -> unit
매개 변수
- id
- Int32
int: 애플리케이션 내에서 고유한 이 알림의 식별자입니다.
- notification
- Notification
알림: 사용자에게 표시할 항목을 설명하는 알림 개체입니다. null이 아니어야 합니다.
- 특성
설명
상태 표시줄에 표시할 알림을 게시합니다. 동일한 ID의 알림이 애플리케이션에서 이미 게시되었으며 아직 취소되지 않은 경우 업데이트된 정보로 대체됩니다.
에 대한 android.app.NotificationManager.notifyAndroid 참조
이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.
적용 대상
Notify(String, Int32, Notification)
상태 표시줄에 표시할 알림을 게시합니다.
[Android.Runtime.Register("notify", "(Ljava/lang/String;ILandroid/app/Notification;)V", "GetNotify_Ljava_lang_String_ILandroid_app_Notification_Handler")]
public virtual void Notify(string? tag, int id, Android.App.Notification? notification);
[<Android.Runtime.Register("notify", "(Ljava/lang/String;ILandroid/app/Notification;)V", "GetNotify_Ljava_lang_String_ILandroid_app_Notification_Handler")>]
override this.Notify : string * int * Android.App.Notification -> unit
매개 변수
- tag
- String
문자열: 이 알림의 문자열 식별자입니다. null일 수 있습니다.
- id
- Int32
int: 이 알림의 식별자입니다. 쌍(태그, ID)은 애플리케이션 내에서 고유해야 합니다.
- notification
- Notification
알림: 사용자에게 표시할 항목을 설명하는 알림 개체입니다. null이 아니어야 합니다.
- 특성
설명
상태 표시줄에 표시할 알림을 게시합니다. 동일한 태그와 ID를 가진 알림이 애플리케이션에서 이미 게시되었으며 아직 취소되지 않은 경우 업데이트된 정보로 대체됩니다. 모든 수신기 서비스에는 이 알림에 제공된 모든 URI에 대한 액세스 Intent.FLAG_GRANT_READ_URI_PERMISSION 부여되거나 이 알림이 Context.grantUriPermission(String,Uri,int)을 사용하여 게시되는 NotificationChannel이 부여됩니다. 알림이 취소되면 사용 권한이 취소되거나 Context.revokeUriPermission(Uri,int)을 사용하여 사용 권한을 취소할 수 있습니다.
에 대한 android.app.NotificationManager.notifyAndroid 참조
이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.