Share via


ICursor.SetNotificationUri(ContentResolver, Uri) 메서드

정의

변경 내용에 대한 콘텐츠 URI를 watch 등록합니다.

[Android.Runtime.Register("setNotificationUri", "(Landroid/content/ContentResolver;Landroid/net/Uri;)V", "GetSetNotificationUri_Landroid_content_ContentResolver_Landroid_net_Uri_Handler:Android.Database.ICursorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetNotificationUri (Android.Content.ContentResolver? cr, Android.Net.Uri? uri);
[<Android.Runtime.Register("setNotificationUri", "(Landroid/content/ContentResolver;Landroid/net/Uri;)V", "GetSetNotificationUri_Landroid_content_ContentResolver_Landroid_net_Uri_Handler:Android.Database.ICursorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetNotificationUri : Android.Content.ContentResolver * Android.Net.Uri -> unit

매개 변수

cr
ContentResolver

호출자 컨텍스트의 콘텐츠 확인자입니다. 이 확인자에 연결된 수신기에 알림이 표시됩니다.

uri
Uri

watch 콘텐츠 URI입니다.

특성

설명

변경 내용에 대한 콘텐츠 URI를 watch 등록합니다. 특정 데이터 행의 URI(예: "content://my_provider_type/23") 또는 콘텐츠 형식에 대한 일반 URI일 수 있습니다.

이 를 호출하면 에 대한 이전 호출이 재정의됩니다 #setNotificationUris(ContentResolver, List).

에 대한 Java 설명서입니다 android.database.Cursor.setNotificationUri(android.content.ContentResolver, android.net.Uri).

이 페이지의 일부는 만들고 공유하며 에 설명된 용어에 따라 사용되는 작업을 기반으로 수정됩니다.

적용 대상