OTVInsightConfig
public class OTVInsightConfig : NSObject
The OTVInsightConfig class defines the parameters required to report using the Insight Agent.
The configuration consists of:
- collectorURL - an URL to report to.
- deviceId - ID of the device reporting
- operatorId - Operator ID Token. Provided by Insight
- samplingInterval - Amount of seconds between each sample
- reportingInterval - Amount of seconds between each report submitted to the Insight API
- framedropsEnabled - indicates if framedrops reporting is enabled.
- deviceType - The type of Device
- appName - Name of the Video App
- appVersion - App Version
- screenWidth - Screen width in pixel
- screenHeight - Screen height in pixels
- screenDensity - Screen density ratio
- timezone - Timezone (i.e., Europe/Paris or UTC offset)
-
init(collectorURL:
deviceId: operatorId: samplingInterval: reportingInterval: framedropsEnabled: deviceType: appName: appVersion: screenWidth: screenHeight: screenDensity: timezone: ) Declaration
Swift
public init (collectorURL: String, deviceId: String, operatorId: String, samplingInterval: TimeInterval, reportingInterval: TimeInterval, framedropsEnabled: Bool, deviceType: OTVDeviceType? = nil, appName: String? = nil, appVersion: String? = nil, screenWidth: Int? = nil, screenHeight: Int? = nil, screenDensity: Int? = nil, timezone: String? = nil)