Constants
The following constants are available globally.
-
Undocumented
Declaration
Objective-C
extern NSString *const ARTHttpHeaderFieldErrorCodeKeySwift
let ARTHttpHeaderFieldErrorCodeKey: String -
Undocumented
Declaration
Objective-C
extern NSString *const ARTHttpHeaderFieldErrorMessageKeySwift
let ARTHttpHeaderFieldErrorMessageKey: String -
Undocumented
Declaration
Objective-C
extern NSUInteger const ARTIdempotentLibraryGeneratedIdLengthSwift
let ARTIdempotentLibraryGeneratedIdLength: UInt -
Undocumented
Declaration
Objective-C
extern NSString *const ARTDefaultProductionSwift
let ARTDefaultProduction: String -
Undocumented
Declaration
Objective-C
extern void (^const ARTFallback_shuffleArraySwift
let ARTFallback_shuffleArray: (NSMutableArray) -> Void -
Undocumented
Declaration
Objective-C
extern NSString *const ARTDeviceIdKeySwift
let ARTDeviceIdKey: String -
Undocumented
Declaration
Objective-C
extern NSString *const ARTDeviceSecretKeySwift
let ARTDeviceSecretKey: String -
Undocumented
Declaration
Objective-C
extern NSString *const ARTDeviceIdentityTokenKeySwift
let ARTDeviceIdentityTokenKey: String -
Undocumented
Declaration
Objective-C
extern NSString *const ARTAPNSDeviceTokenKeySwift
let ARTAPNSDeviceTokenKey: String -
Undocumented
Declaration
Objective-C
extern NSString *const ARTClientIdKeySwift
let ARTClientIdKey: String -
Undocumented
Declaration
Objective-C
extern NSString *const ARTAPNSDeviceDefaultTokenTypeSwift
let ARTAPNSDeviceDefaultTokenType: String -
Undocumented
Declaration
Objective-C
extern NSString *const ARTAPNSDeviceLocationTokenTypeSwift
let ARTAPNSDeviceLocationTokenType: String -
Undocumented
Declaration
Objective-C
extern NSString *const ARTPushActivationCurrentStateKeySwift
let ARTPushActivationCurrentStateKey: String -
Undocumented
Declaration
Objective-C
extern NSString *const ARTPushActivationPendingEventsKeySwift
let ARTPushActivationPendingEventsKey: String -
Error domain used for errors reported by ARTSRWebSocket.
Declaration
Objective-C
extern NSString *const _Nonnull ARTSRWebSocketErrorDomainSwift
let ARTSRWebSocketErrorDomain: String -
Key used for HTTP status code if bad response was received from the server.
Declaration
Objective-C
extern NSString *const _Nonnull ARTSRHTTPResponseErrorKeySwift
let ARTSRHTTPResponseErrorKey: String -
Use this pointer as a dictionary value in the
ARTClientOptions.agentsproperty and theARTClientInformation.additionalAgentsmethod to indicate that an agent does not have a version.Declaration
Objective-C
extern NSString *const _Nonnull ARTClientInformationAgentNotVersionedSwift
let ARTClientInformationAgentNotVersioned: String -
Set this key in
ARTClientOptions.pluginstoAblyLiveObjects.Plugin.selfafter importingAblyLiveObjectsfrom the ably/ably-liveobjects-swift-plugin repository in order to enable LiveObjects functionality.Declaration
Objective-C
extern const ARTPluginName _Nonnull ARTPluginNameLiveObjectsSwift
static let liveObjects: ARTPluginName
Constants Reference