• BlackBerry Dynamics
  • Runtime library for Android applications
  • 12.0.1.79
CredentialsProfile.State Enum Reference

UCP states. More...

Description

Values in this enumeration represent the possible states of a UCP. The CredentialsProfile.getState() method always returns one of these values.

Public Attributes

 GDCredentialsProfileStateImportDue =(1)
 Setup of credentials is required. More...
 
 GDCredentialsProfileStateImportNow =(2)
 Another application has requested credentials. More...
 
 GDCredentialsProfileStateImported =(3)
 All credentials have been setup. More...
 
 GDCredentialsProfileStateModified =(4)
 The profile has been modified since credentials were setup. More...
 
 GDCredentialsProfileStateRenewalDue =(5)
 Credentials will soon expire. More...
 
 GDCredentialsProfileStateDeleted =(6)
 Profile removed. More...
 

Member Data Documentation

◆ GDCredentialsProfileStateImportDue

GDCredentialsProfileStateImportDue =(1)

This state can arise, for example, because:

  • The profile has recently been assigned to the user's account and credentials haven't yet been setup for it.
  • The credentials mapped to the profile have expired.

The application may begin setup of the profile by calling beginEnrolments().

◆ GDCredentialsProfileStateImportNow

GDCredentialsProfileStateImportNow =(2)

This state arises when another application is requesting credentials, but they aren't yet available in the BlackBerry Dynamics secure store of this application. This could be for one of the following reasons, for example.

  • The user didn't complete the import of credentials at activation time.
  • The profile has recently been assigned to the user's account.

◆ GDCredentialsProfileStateImported

GDCredentialsProfileStateImported =(3)

The application needn't take any action in this state.

◆ GDCredentialsProfileStateModified

GDCredentialsProfileStateModified =(4)

For example, the display name of the profile has been changed. If the application displays the details of the profile to the user, then the display should be updated.

◆ GDCredentialsProfileStateRenewalDue

GDCredentialsProfileStateRenewalDue =(5)

If this state arrises the application should initiate renewal of credentials for the profile when it is convenient to do so.

The application may allow the user to select new credentials from the Android keystore by calling beginEnrolments().

If renewal isn't initiated, the credentials will expire and the profile will become due for setup. See the GDCredentialsProfileStateImportDue state, above.

◆ GDCredentialsProfileStateDeleted

GDCredentialsProfileStateDeleted =(6)

This state arises if the profile has been deleted or detached from the end user in the management console. If the application displays the details of the profile to the user, then the display should be updated.