Functions
The following functions are available globally.
-
Express the input dictionary as a
application/x-www-form-urlencoded
string. If the parameters dictionary is nil or empty, returns nil.Declaration
Objective-C
NSString *_Nonnull ARTFormEncode(NSDictionary *_Nonnull parameters)
Swift
func ARTFormEncode(_ parameters: [AnyHashable : Any]) -> String
-
Undocumented
Declaration
Objective-C
ARTScheduledBlockHandle *artDispatchScheduled(NSTimeInterval seconds, dispatch_queue_t queue, dispatch_block_t block)
Swift
func artDispatchScheduled(_ seconds: TimeInterval, _ queue: dispatch_queue_t!, _ block: (() -> Void)!) -> ARTScheduledBlockHandle!
-
Undocumented
Declaration
Objective-C
static inline void artDispatchCancel(ARTScheduledBlockHandle *handle) { if (handle) { [handle cancel]; } }
Swift
func artDispatchCancel(_ handle: ARTScheduledBlockHandle!)
-
Undocumented
Declaration
Objective-C
NSString* ARTAPNSDeviceTokenKeyOfType(NSString * _Nullable tokenType)
Swift
func ARTAPNSDeviceTokenKeyOfType(_ tokenType: String?) -> String
-
Undocumented
Declaration
Objective-C
NSString *_Nonnull ARTMessageActionToStr(ARTMessageAction action)
Swift
func ARTMessageActionToStr(_ action: ARTMessageAction) -> String