YMMReporterConfiguration class

This class contains the extended immutable configuration of the reporter.

Use the YMMMutableReporterConfiguration class to change the configuration of a reporter.

Instance methods

init?(apiKey:)

Initializes an instance of the class YMMReporterConfiguration with the specified API key.

Properties

apiKey

API key that differs from the main application API key.

logs

The flag indicating that the logging of the reporter is enabled.

sessionTimeout

Session timeout in seconds.

statisticsSending

A flag indicating that sending statistics is enabled.

Method descriptions

init?(apiKey:)

init?(apiKey: String)

Initializes an instance of the class YMMReporterConfiguration with the specified API key.

Parameters:
apiKey

API key that differs from the main application API key.

Returns:

The instance of the YMMReporterConfiguration class.

Property descriptions

apiKey

var apiKey: String? { get }

API key that differs from the main application API key.

logs

var logs: Bool { get }

The flag indicating that the logging of the reporter is enabled.

The default value is false.

Possible values:
  • true — Reporter logging is enabled.
  • false — Reporter logging is disabled.

sessionTimeout

var sessionTimeout: UInt { get }

Session timeout in seconds.

The default value is 10 (minimum allowed value).

statisticsSending

var statisticsSending: Bool { get }

A flag indicating that sending statistics is enabled.

The default value is true.

Possible values:
  • true — Sending statistics is enabled.
  • false — Sending statistics is disabled.