Functions
The following functions are available globally.
-
Undocumented
Declaration
Objective-C
NSString *_Nonnull ARTMessageActionToStr(ARTMessageAction action)Swift
func ARTMessageActionToStr(_ action: ARTMessageAction) -> String -
A static method that takes the value of one of the keys in the
Message.annotations.summaryobject for thedistinct.v1annotation type, and outputs a strongly-typed summary entry.Declaration
Objective-C
NSDictionary<NSString *, ARTSummaryClientIdList *> *_Nullable ARTSummaryDistinctV1(NSDictionary *_Nullable dictionary)Swift
func ARTSummaryDistinctV1(_ dictionary: [AnyHashable : Any]?) -> [String : ARTSummaryClientIdList]?Parameters
dictionaryThe value of one of the keys of the
Message.annotations.summary.Return Value
Map of annotation name to aggregated annotations.
-
A static method that takes the value of one of the keys in the
Message.annotations.summaryobject for theunique.v1annotation type, and outputs a strongly-typed summary entry.Declaration
Objective-C
NSDictionary<NSString *, ARTSummaryClientIdList *> *_Nullable ARTSummaryUniqueV1(NSDictionary *_Nullable dictionary)Swift
func ARTSummaryUniqueV1(_ dictionary: [AnyHashable : Any]?) -> [String : ARTSummaryClientIdList]?Parameters
dictionaryThe value of one of the keys of the
Message.annotations.summary.Return Value
Map of annotation name to aggregated annotations.
-
A static method that takes the value of one of the keys in the
Message.annotations.summaryobject for themultiple.v1annotation type, and outputs a strongly-typed summary entry.Declaration
Objective-C
NSDictionary<NSString *, ARTSummaryClientIdCounts *> *_Nullable ARTSummaryMultipleV1(NSDictionary *_Nullable dictionary)Swift
func ARTSummaryMultipleV1(_ dictionary: [AnyHashable : Any]?) -> [String : ARTSummaryClientIdCounts]?Parameters
dictionaryThe value of one of the keys of the
Message.annotations.summary.Return Value
Map of annotation name to aggregated annotations.
-
A static factory method that takes the value of one of the keys in the
Message.annotations.summaryobject for theflag.v1annotation type, and outputs a strongly-typed summary entry.Declaration
Objective-C
ARTSummaryClientIdList *_Nullable ARTSummaryFlagV1( NSDictionary *_Nullable dictionary)Swift
func ARTSummaryFlagV1(_ dictionary: [AnyHashable : Any]?) -> ARTSummaryClientIdList?Parameters
dictionaryThe value of one of the keys of the
Message.annotations.summary.Return Value
Aggregated annotations.
-
A static factory method that takes the value of one of the keys in the
Message.annotations.summaryobject for thetotal.v1annotation type, and outputs a strongly-typed summary entry.Declaration
Objective-C
ARTSummaryTotal *_Nullable ARTSummaryTotalV1(NSDictionary *_Nullable dictionary)Swift
func ARTSummaryTotalV1(_ dictionary: [AnyHashable : Any]?) -> ARTSummaryTotal?Parameters
dictionaryThe value of one of the keys of the
Message.annotations.summary.Return Value
Aggregated total summary.
Functions Reference