checkProviderConfiguration

Tests if DocumentSharingProvider is configured correctly in AndroidManifest.xml.

Parameters

context

Context of the calling component, used for accessing files.

Throws

when provider is not configured correctly.


open fun checkProviderConfiguration(@NonNull context: Context, @NonNull featureName: String)

Tests if DocumentSharingProvider is configured correctly in AndroidManifest.xml.

Parameters

context

Context of the calling component, used for accessing files.

featureName

Feature name to use in error messages.

Throws

when provider is not configured correctly.