Click or drag to resize
GDWindowsAuthorizeAutonomously Method
Connect to the BlackBerry Dynamics infrastructure in background.

Namespace:  GD
Assembly:  GD (in GD.dll) Version: 255.255.255.255
Syntax
public bool AuthorizeAutonomously()

Return Value

Type: Boolean
Remarks

Call this function to initiate SDK authorization processing in background.

This should be called when the application is launched in background. This could happen if any of background tasks are registered for application.

Authorization processing can complete in background, if all the following conditions are met:

  • Activation has completed. The application must have run in foreground and completed SDK authorization processing at least once for this to be the case.
  • Authorization doesn't require user interaction, i.e. a no-password enterprise policy is in effect for the current end user.
  • The application is currently in background.

Call this method from any background task. Use the CanAuthorizeAutonomously method first, to check that a no-password policy applies to the current end user and background authorization is possible.

For more information see Authorize.

Return Value

Type: Boolean
true if authorization can complete in background. The application will be notified when authorization completes, or if it fails for some reason. false if authorization cannot complete in background. No further notification will be invoked.
See Also