Sdílet prostřednictvím


MediaStore.IsCurrentCloudMediaProviderAuthority Method

Definition

Returns true if and only if the caller with authority is the currently enabled CloudMediaProvider.

[Android.Runtime.Register("isCurrentCloudMediaProviderAuthority", "(Landroid/content/ContentResolver;Ljava/lang/String;)Z", "", ApiSince=33)]
public static bool IsCurrentCloudMediaProviderAuthority (Android.Content.ContentResolver resolver, string authority);
[<Android.Runtime.Register("isCurrentCloudMediaProviderAuthority", "(Landroid/content/ContentResolver;Ljava/lang/String;)Z", "", ApiSince=33)>]
static member IsCurrentCloudMediaProviderAuthority : Android.Content.ContentResolver * string -> bool

Parameters

resolver
ContentResolver
authority
String

Returns

Attributes

Remarks

Returns true if and only if the caller with authority is the currently enabled CloudMediaProvider. More specifically, false is also returned if the calling uid doesn't match the uid of the authority.

Java documentation for android.provider.MediaStore.isCurrentCloudMediaProviderAuthority(android.content.ContentResolver, java.lang.String).

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.

Applies to