-

- BlackBerry Dynamics
- Runtime library for iOS applications
- 10.2.0.83
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
62 @property (nonatomic, copy) NSString* message;
936 - (void)programmaticAuthorize:(NSDictionary<
ActivationParameter,
id> *)activationParameters;
939 #if __has_extension(attribute_deprecated_with_message)
940 # define DEPRECATE_PROGRAMMATICAUTHORIZE __attribute((deprecated("Use -programmaticAuthorize:activationParameters instead.")))
942 # define DEPRECATE_PROGRAMMATICAUTHORIZE __attribute((deprecated))
957 - (void)programmaticAuthorize:(NSString *)userID withAccessKey:(NSString *)accessKey DEPRECATE_PROGRAMMATICAUTHORIZE;
1001 - (void)programmaticAuthorize:(NSString *)userID
1002 withAccessKey:(NSString *)accessKey
1003 networkOperationCenter:(NSURL *)nocAddress DEPRECATE_PROGRAMMATICAUTHORIZE;
1005 #undef DEPRECATE_PROGRAMMATICAUTHORIZE
1552 - (NSArray<
GDServiceProvider *> *)getServiceProvidersFor:(NSString*)serviceId andVersion:(nullable NSString*)version andServiceType:(
GDServiceType)serviceType;
1555 #undef DEPRECATE_GETSERVICEPROVIDERSFOR
1642 - (void)getEntitlementVersionsFor:(NSString*)identifier
1646 #if __has_extension(attribute_deprecated_with_message)
1647 # define DEPRECATE_GETWINDOW __attribute((deprecated("Use the window property from the main app delegate instance.")))
1649 # define DEPRECATE_GETWINDOW __attribute((deprecated))
1683 - (UIWindow*)
getWindow DEPRECATE_GETWINDOW;
1685 #undef DEPRECATE_GETWINDOW
1715 - (BOOL)showPreferenceUI:(nullable UIViewController*)baseViewController;
1749 - (void)configureUIWithLogo:(NSString*)imagePath
1750 bundle:(nullable NSBundle*)bundle
1751 color:(nullable UIColor*)color;
1765 @property (nullable, nonatomic, weak) id<GDiOSDelegate>
delegate;
1768 #if __has_extension(attribute_deprecated_with_message)
1769 # define DEPRECATE_LAUNCHOPTIONS __attribute__((deprecated("No longer required.")))
1771 # define DEPRECATE_LAUNCHOPTIONS __attribute__((deprecated))
1794 @property (nullable, nonatomic, strong) NSDictionary<NSObject *, id>*
launchOptions DEPRECATE_LAUNCHOPTIONS;
1885 - (void)executeBlock:(NSString *)blockId withTitle:(NSString *)title withMessage:(NSString *)message;
1895 - (void)executeUnblock:(NSString *)blockId;
1909 -(BOOL)executePendingConsoleMigration:(NSString *)destinationTenantID withUemServerAddress:(NSString *)uemServerAddress;
1927 NS_ASSUME_NONNULL_END
NSString * message
Textual description of the event.
Definition: GDiOS.h:49
BOOL activationComplete
Application activation status.
Definition: GDiOS.h:1019
const ActivationParameter ActivationParameterEnrollmentAddress
Definition: GDiOS.h:903
const ActivationParameter ActivationParameterPassword
Definition: GDiOS.h:904
NSDictionary< NSString *, id > * getApplicationConfig()
Get application configuration and other settings from the enterprise.
instancetype sharedInstance()
Get a reference to the runtime interface object.
GDAppEventType type
Numeric event type.
Definition: GDiOS.h:53
@ GDServiceTypeApplication
Application-based service.
Definition: GDiOS.h:33
const ActivationParameter ActivationParameterShowUserInterface
Definition: GDiOS.h:902
@ GDServiceTypeServer
Server-based service.
Definition: GDiOS.h:35
const ActivationParameter ActivationParameterUserIdentifier
Definition: GDiOS.h:899
void authorize()
Connect to the BlackBerry Dynamics infrastructure, without specifying a delegate.
BlackBerry Dynamics Runtime object interface, including authorization.
Definition: GDiOS.h:608
NSString * ActivationParameter
String constants used as keys for programmatic activation parameters.
Definition: GDiOS.h:898
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:1838
GDState * state
Observable representation of authorization state and user interface state.
Definition: GDiOS.h:1923
id< GDiOSDelegate > delegate
Delegated event-handling.
Definition: GDiOS.h:1765
GDAppResultCode code
Numeric result code.
Definition: GDiOS.h:51
Handler for events dispatched from the BlackBerry Dynamics Runtime, including authorization events.
Definition: GDiOS.h:92
GDAppResultCode
Constants for GDAppEvent result code.
Definition: GDAppResultCode.h:114
const ActivationParameter ActivationParameterNOCAddress
Definition: GDiOS.h:901
NSString * getApplicationPolicyString()
Get application-specific policy settings from the enterprise management console, as JSON.
Event dispatched from the BlackBerry Dynamics runtime.
Definition: GDiOS.h:46
void(^ GDGetEntitlementVersionsForBlock)(NSArray< GDVersion * > *_Nullable entitlementVersions, NSError *error)
Type for getEntitlementsFor block parameter.
Definition: GDiOS.h:1573
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.
NSDictionary< NSObject *, id > * launchOptions
Application launch options (deprecated).
Definition: GDiOS.h:1794
UIWindow * getWindow()
Get the UIWindow for the application (deprecated).
BlackBerry Dynamics run-time state.
Definition: GDState.h:314
BlackBerry Dynamics entitlement version.
Definition: GDVersion.h:78
const ActivationParameter ActivationParameterAccessKey
Definition: GDiOS.h:900
GDServiceType
Constants for BlackBerry Dynamics service type.
Definition: GDiOS.h:30
Service provider details.
Definition: GDServiceProvider.h:37
GDAppEventType
Constants for GDAppEvent type.
Definition: GDAppResultCode.h:15
NSString * getVersion()
Get the BlackBerry Dynamics runtime library version.