Language

CursorWrapper.SetNotificationUris(ContentResolver, IList<Uri>) メソッド

定義

SetNotificationUri(ContentResolver, Uri)と同様に、このバージョンを除き、複数のコンテンツ URI で変更を監視できます。

[Android.Runtime.Register("setNotificationUris", "(Landroid/content/ContentResolver;Ljava/util/List;)V", "GetSetNotificationUris_Landroid_content_ContentResolver_Ljava_util_List_Handler", ApiSince=29)]
public virtual void SetNotificationUris(Android.Content.ContentResolver? cr, System.Collections.Generic.IList<Android.Net.Uri>? uris);
[<Android.Runtime.Register("setNotificationUris", "(Landroid/content/ContentResolver;Ljava/util/List;)V", "GetSetNotificationUris_Landroid_content_ContentResolver_Ljava_util_List_Handler", ApiSince=29)>]
abstract member SetNotificationUris : Android.Content.ContentResolver * System.Collections.Generic.IList<Android.Net.Uri> -> unit
override this.SetNotificationUris : Android.Content.ContentResolver * System.Collections.Generic.IList<Android.Net.Uri> -> unit

パラメーター

cr
ContentResolver

呼び出し元のコンテキストからのコンテンツ リゾルバー。 このリゾルバーにアタッチされたリスナーに通知されます。 この値は null にすることはできません。

uris
IList<Uri>

視聴するコンテンツ URI。 この値は null にすることはできません。

属性

注釈

SetNotificationUri(ContentResolver, Uri)と同様に、このバージョンを除き、複数のコンテンツ URI で変更を監視できます。

ラップされたカーソルが既定の実装を使用する場合は、urisの最初の URI でSetNotificationUri(ContentResolver, Uri) メソッドを呼び出します。

これを呼び出すと、 SetNotificationUri(ContentResolver, Uri)に対する以前の呼び出しがオーバーライドされます。

android.database.CursorWrapper.setNotificationUrisの Android リファレンス。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象