DefaultMetadata
@objc(BMADefaultMetadata)
@objcMembers
public class DefaultMetadata : NSObject
-
CDN provider info sent with every sample
Declaration
Swift
public let cdnProvider: String?
-
Custom user id send with every sample
Used for the feature Session Tracking in the Analytics Dashboard
The value could be any identifier from your platform The value provided must not include sensible data (e.g. email address, name, social media platform id etc.)
Declaration
Swift
public let customUserId: String?
-
Custom data sent with each sample
Declaration
Swift
public let customData: CustomData
-
Declaration
Swift
@nonobjc public init( cdnProvider: String? = nil, customUserId: String? = nil, customData: CustomData = CustomData() )
-
Declaration
Swift
@objc(BMADefaultMetadataBuilder) @objcMembers class Builder : NSObject