MediaStore.NotifyCloudMediaChangedEvent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Notifies the OS about a cloud media event requiring a full or incremental media collection
sync for the currently enabled cloud provider, authority
.
[Android.Runtime.Register("notifyCloudMediaChangedEvent", "(Landroid/content/ContentResolver;Ljava/lang/String;Ljava/lang/String;)V", "", ApiSince=33)]
public static void NotifyCloudMediaChangedEvent (Android.Content.ContentResolver resolver, string authority, string currentMediaCollectionId);
[<Android.Runtime.Register("notifyCloudMediaChangedEvent", "(Landroid/content/ContentResolver;Ljava/lang/String;Ljava/lang/String;)V", "", ApiSince=33)>]
static member NotifyCloudMediaChangedEvent : Android.Content.ContentResolver * string * string -> unit
Parameters
- resolver
- ContentResolver
- authority
- String
- currentMediaCollectionId
- String
- Attributes
Remarks
Notifies the OS about a cloud media event requiring a full or incremental media collection sync for the currently enabled cloud provider, authority
.
The OS will schedule the sync in the background and will attempt to batch frequent notifications into a single sync event.
If the caller is not the currently enabled cloud provider as returned by #isCurrentCloudMediaProviderAuthority(ContentResolver, String)
, the request will be unsuccessful.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.