Settings.ActionCredentialProvider Field
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.
Activity Action: Show screen that let user enable a Credential Manager provider.
[Android.Runtime.Register("ACTION_CREDENTIAL_PROVIDER", ApiSince=35)]
public const string ActionCredentialProvider;
[<Android.Runtime.Register("ACTION_CREDENTIAL_PROVIDER", ApiSince=35)>]
val mutable ActionCredentialProvider : string
Field Value
- Attributes
Remarks
Activity Action: Show screen that let user enable a Credential Manager provider.
Input: Intent's data URI set with an application name, using the "package" schema (like "package:com.my.app").
Output: android.app.Activity#RESULT_OK
if user selected a provider belonging to the caller package.
<b>NOTE: </b> Applications should call android.credentials.CredentialManager#isEnabledCredentialProviderService( ComponentName)
and only use this action to start an activity if they return false
.
Java documentation for android.provider.Settings.ACTION_CREDENTIAL_PROVIDER
.
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.