-

- BlackBerry Dynamics
- Runtime library for iOS applications
- 13.1.0.48
Go to the documentation of this file.
9 #import <UIKit/UIKit.h>
17 #ifndef __has_extension
18 #define __has_extension(x) 0 // Compatibility with non-clang compilers.
40 NS_ASSUME_NONNULL_BEGIN
60 @property (nonatomic, copy) NSString*
name;
69 @property (nonatomic, copy) NSString*
address;
121 @property (nonatomic, copy) NSString* message;
607 - (void)programmaticAuthorize:(NSDictionary<
ActivationParameter,
id> *)activationParameters;
610 #if __has_extension(attribute_deprecated_with_message)
611 # define DEPRECATE_PROGRAMMATICAUTHORIZE __attribute((deprecated("Use -programmaticAuthorize:activationParameters instead.")))
613 # define DEPRECATE_PROGRAMMATICAUTHORIZE __attribute((deprecated))
628 - (void)programmaticAuthorize:(NSString *)userID withAccessKey:(NSString *)accessKey DEPRECATE_PROGRAMMATICAUTHORIZE;
672 - (void)programmaticAuthorize:(NSString *)userID
673 withAccessKey:(NSString *)accessKey
674 networkOperationCenter:(NSURL *)nocAddress DEPRECATE_PROGRAMMATICAUTHORIZE;
676 #undef DEPRECATE_PROGRAMMATICAUTHORIZE
1223 - (NSArray<
GDServiceProvider *> *)getServiceProvidersFor:(NSString*)serviceId andVersion:(nullable NSString*)version andServiceType:(
GDServiceType)serviceType;
1226 #undef DEPRECATE_GETSERVICEPROVIDERSFOR
1313 - (void)getEntitlementVersionsFor:(NSString*)identifier
1317 #if __has_extension(attribute_deprecated_with_message)
1318 # define DEPRECATE_GETWINDOW __attribute((deprecated("Use the window property from the main app delegate instance.")))
1320 # define DEPRECATE_GETWINDOW __attribute((deprecated))
1354 - (UIWindow*)
getWindow DEPRECATE_GETWINDOW;
1356 #undef DEPRECATE_GETWINDOW
1388 - (BOOL)showPreferenceUI:(nullable UIViewController*)baseViewController;
1422 - (void)configureUIWithLogo:(NSString*)imagePath
1423 bundle:(nullable NSBundle*)bundle
1424 color:(nullable UIColor*)color;
1438 @property (nullable, nonatomic, weak) id<GDiOSDelegate>
delegate;
1529 - (void)executeBlock:(NSString *)blockId withTitle:(NSString *)title withMessage:(NSString *)message;
1539 - (void)executeUnblock:(NSString *)blockId;
1553 -(BOOL)executePendingConsoleMigration:(NSString *)destinationTenantID withUemServerAddress:(NSString *)uemServerAddress;
1602 NS_ASSUME_NONNULL_END
NSString * message
Textual description of the event.
Definition: GDiOS.h:108
BOOL activationComplete
Application activation status.
Definition: GDiOS.h:690
const ActivationParameter ActivationParameterEnrollmentAddress
Definition: GDiOS.h:574
const ActivationParameter ActivationParameterPassword
Definition: GDiOS.h:575
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:88
GDAppEventType type
Numeric event type.
Definition: GDiOS.h:112
@ GDServiceTypeApplication
Application-based service.
Definition: GDiOS.h:34
const ActivationParameter ActivationParameterShowUserInterface
Definition: GDiOS.h:573
@ GDServiceTypeServer
Server-based service.
Definition: GDiOS.h:36
This class represents the main application view controller class comprised of a floating Launcher but...
Definition: GTLauncherViewController.h:261
const ActivationParameter ActivationParameterUserIdentifier
Definition: GDiOS.h:570
void authorize()
Connect to the BlackBerry Dynamics infrastructure, without specifying a delegate.
BlackBerry Dynamics Runtime object interface, including authorization.
Definition: GDiOS.h:272
NSString * ActivationParameter
String constants used as keys for programmatic activation parameters.
Definition: GDiOS.h:569
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:1482
GDState * state
Observable representation of authorization state and user interface state.
Definition: GDiOS.h:1567
id< GDiOSDelegate > delegate
Delegated event-handling.
Definition: GDiOS.h:1438
GDAppResultCode code
Numeric result code.
Definition: GDiOS.h:110
Handler for events dispatched from the BlackBerry Dynamics Runtime, including authorization events.
Definition: GDiOS.h:152
GDAppResultCode
Constants for GDAppEvent result code.
Definition: GDAppResultCode.h:114
const ActivationParameter ActivationParameterNOCAddress
Definition: GDiOS.h:572
NSString * getApplicationPolicyString()
Get application-specific policy settings from the enterprise management console, as JSON.
Event dispatched from the BlackBerry Dynamics runtime.
Definition: GDiOS.h:105
void(^ GDGetEntitlementVersionsForBlock)(NSArray< GDVersion * > *_Nullable entitlementVersions, NSError *error)
Type for getEntitlementsFor block parameter.
Definition: GDiOS.h:1244
NSArray< GDServiceProvider * > * getServiceProviders()
Get providers of shared services.
GTLauncherViewController * getManagedLauncherViewController()
Returns the GTLauncherViewController being managed by BlackBerry Dynamics, if any.
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:78
NSString * address
Native application identifier of the auth delegate.
Definition: GDiOS.h:69
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:51
const ActivationParameter ActivationParameterAccessKey
Definition: GDiOS.h:571
NSString * name
Name of the auth delegate application.
Definition: GDiOS.h:60
GDServiceType
Constants for BlackBerry Dynamics service type.
Definition: GDiOS.h:31
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.