ARApplication Class Reference
Inherits from | UIResponder |
Conforms to | UIApplicationDelegate |
Declared in | ARApplication.h |
Overview
By inheriting your AppDelegate by ARApplication, the management of the ARService is done for you. You just have to implement the AppRelayAPIKey method in your AppDelegate.m file to return your API Key.
Tasks
-
– AppRelayAPIKey
Returns the AppRelay API Key.
-
– AppRelayBundleId
Returns the AppRelay Bundle Id.
-
– AppRelayCampaignsEnabled
Returns whether or not the Application enables the campaigns.
-
– AppRelayPushApiEnabled
Returns whether or not the Application enables the push api.
-
– AppRelayCrashReportsEnabled
Returns whether or not the Application enables the crash reports.
-
– restartAppRelayService
Call this method whenever you’d like to restart the service. When the config changes for example and has an impact on service Urls or bundle ids.
-
– didReceivePushNotification:
Overload this method to present Topic view controller or download the JSON content when a remote notification is received
-
– didReceiveErrorWithCategory:error:
Overload this method to get notified of possible silent errors in the sdk.
Instance Methods
AppRelayAPIKey
Returns the AppRelay API Key.
- (NSString *)AppRelayAPIKey
Declared In
ARApplication.h
AppRelayBundleId
Returns the AppRelay Bundle Id.
- (NSString *)AppRelayBundleId
Declared In
ARApplication.h
AppRelayCampaignsEnabled
Returns whether or not the Application enables the campaigns.
- (BOOL)AppRelayCampaignsEnabled
Declared In
ARApplication.h
AppRelayCrashReportsEnabled
Returns whether or not the Application enables the crash reports.
- (BOOL)AppRelayCrashReportsEnabled
Declared In
ARApplication.h
AppRelayPushApiEnabled
Returns whether or not the Application enables the push api.
- (BOOL)AppRelayPushApiEnabled
Declared In
ARApplication.h
didReceiveErrorWithCategory:error:
Overload this method to get notified of possible silent errors in the sdk.
- (void)didReceiveErrorWithCategory:(NSString *)category error:(NSError *)error
Declared In
ARApplication.h