Partager via


MediaStore.IsSupportedCloudMediaProviderAuthority Method

Definition

Returns true if and only if the caller with authority is a supported CloudMediaProvider.

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

Parameters

resolver
ContentResolver
authority
String

Returns

Attributes

Remarks

Returns true if and only if the caller with authority is a supported 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.isSupportedCloudMediaProviderAuthority(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