-
- BlackBerry Dynamics
- Runtime library for iOS applications
- 12.0.1.79
Go to the documentation of this file.
9 #import <UIKit/UIKit.h>
16 #ifndef __has_extension
17 #define __has_extension(x) 0 // Compatibility with non-clang compilers.
39 NS_ASSUME_NONNULL_BEGIN
59 @property (nonatomic, copy) NSString*
name;
68 @property (nonatomic, copy) NSString*
address;
120 @property (nonatomic, copy) NSString* message;
606 - (void)programmaticAuthorize:(NSDictionary<
ActivationParameter,
id> *)activationParameters;
609 #if __has_extension(attribute_deprecated_with_message)
610 # define DEPRECATE_PROGRAMMATICAUTHORIZE __attribute((deprecated("Use -programmaticAuthorize:activationParameters instead.")))
612 # define DEPRECATE_PROGRAMMATICAUTHORIZE __attribute((deprecated))
627 - (void)programmaticAuthorize:(NSString *)userID withAccessKey:(NSString *)accessKey DEPRECATE_PROGRAMMATICAUTHORIZE;
671 - (void)programmaticAuthorize:(NSString *)userID
672 withAccessKey:(NSString *)accessKey
673 networkOperationCenter:(NSURL *)nocAddress DEPRECATE_PROGRAMMATICAUTHORIZE;
675 #undef DEPRECATE_PROGRAMMATICAUTHORIZE
1222 - (NSArray<
GDServiceProvider *> *)getServiceProvidersFor:(NSString*)serviceId andVersion:(nullable NSString*)version andServiceType:(
GDServiceType)serviceType;
1225 #undef DEPRECATE_GETSERVICEPROVIDERSFOR
1312 - (void)getEntitlementVersionsFor:(NSString*)identifier
1316 #if __has_extension(attribute_deprecated_with_message)
1317 # define DEPRECATE_GETWINDOW __attribute((deprecated("Use the window property from the main app delegate instance.")))
1319 # define DEPRECATE_GETWINDOW __attribute((deprecated))
1353 - (UIWindow*)
getWindow DEPRECATE_GETWINDOW;
1355 #undef DEPRECATE_GETWINDOW
1387 - (BOOL)showPreferenceUI:(nullable UIViewController*)baseViewController;
1421 - (void)configureUIWithLogo:(NSString*)imagePath
1422 bundle:(nullable NSBundle*)bundle
1423 color:(nullable UIColor*)color;
1437 @property (nullable, nonatomic, weak) id<GDiOSDelegate>
delegate;
1528 - (void)executeBlock:(NSString *)blockId withTitle:(NSString *)title withMessage:(NSString *)message;
1538 - (void)executeUnblock:(NSString *)blockId;
1552 -(BOOL)executePendingConsoleMigration:(NSString *)destinationTenantID withUemServerAddress:(NSString *)uemServerAddress;
1570 NS_ASSUME_NONNULL_END
NSString * message
Textual description of the event.
Definition: GDiOS.h:107
BOOL activationComplete
Application activation status.
Definition: GDiOS.h:689
const ActivationParameter ActivationParameterEnrollmentAddress
Definition: GDiOS.h:573
const ActivationParameter ActivationParameterPassword
Definition: GDiOS.h:574
NSDictionary< NSString *, id > * getApplicationConfig()
Get application configuration and other settings from the enterprise.
instancetype sharedInstance()
Get a reference to the runtime interface object.
BOOL isAuthenticationDelegated
Flag if authentication is delegated.
Definition: GDiOS.h:87
GDAppEventType type
Numeric event type.
Definition: GDiOS.h:111
@ GDServiceTypeApplication
Application-based service.
Definition: GDiOS.h:33
const ActivationParameter ActivationParameterShowUserInterface
Definition: GDiOS.h:572
@ GDServiceTypeServer
Server-based service.
Definition: GDiOS.h:35
const ActivationParameter ActivationParameterUserIdentifier
Definition: GDiOS.h:569
void authorize()
Connect to the BlackBerry Dynamics infrastructure, without specifying a delegate.
BlackBerry Dynamics Runtime object interface, including authorization.
Definition: GDiOS.h:271
NSString * ActivationParameter
String constants used as keys for programmatic activation parameters.
Definition: GDiOS.h:568
BOOL executeRemoteLock()
Lock the application permanently.
BOOL authorizeAutonomously()
Connect to the BlackBerry Dynamics infrastructure in background, without specifying a delegate.
BOOL canAuthorizeAutonomously
Whether it is possible to authorize autonomously.
Definition: GDiOS.h:1481
GDState * state
Observable representation of authorization state and user interface state.
Definition: GDiOS.h:1566
id< GDiOSDelegate > delegate
Delegated event-handling.
Definition: GDiOS.h:1437
GDAppResultCode code
Numeric result code.
Definition: GDiOS.h:109
Handler for events dispatched from the BlackBerry Dynamics Runtime, including authorization events.
Definition: GDiOS.h:151
GDAppResultCode
Constants for GDAppEvent result code.
Definition: GDAppResultCode.h:114
const ActivationParameter ActivationParameterNOCAddress
Definition: GDiOS.h:571
NSString * getApplicationPolicyString()
Get application-specific policy settings from the enterprise management console, as JSON.
Event dispatched from the BlackBerry Dynamics runtime.
Definition: GDiOS.h:104
void(^ GDGetEntitlementVersionsForBlock)(NSArray< GDVersion * > *_Nullable entitlementVersions, NSError *error)
Type for getEntitlementsFor block parameter.
Definition: GDiOS.h:1243
NSArray< GDServiceProvider * > * getServiceProviders()
Get providers of shared services.
NSDictionary< NSString *, id > * getApplicationPolicy()
Get application-specific policy settings from the enterprise management console, as a collection.
NSString * applicationId
Entitlement identifier of the auth delegate.
Definition: GDiOS.h:77
NSString * address
Native application identifier of the auth delegate.
Definition: GDiOS.h:68
UIWindow * getWindow()
Get the UIWindow for the application (deprecated).
GDAuthDelegateInfo * getAuthDelegate()
Get a pointer to the GDAuthDelegateInfo structure.
NSString * description()
Description of the GDAuthDelegateInfo.
BlackBerry Dynamics run-time state.
Definition: GDState.h:322
BlackBerry Dynamics entitlement version.
Definition: GDVersion.h:18
Provide information about the authentication delegate app, if one exists.
Definition: GDiOS.h:50
const ActivationParameter ActivationParameterAccessKey
Definition: GDiOS.h:570
NSString * name
Name of the auth delegate application.
Definition: GDiOS.h:59
GDServiceType
Constants for BlackBerry Dynamics service type.
Definition: GDiOS.h:30
Service provider details.
Definition: GDServiceProvider.h:40
GDAppEventType
Constants for GDAppEvent type.
Definition: GDAppResultCode.h:15
NSString * getVersion()
Get the BlackBerry Dynamics runtime library version.