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

-initWithApiKey:

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

-initWithApiKey:

- (instancetype)initWithApiKey:(NSString *)apiKey

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

(nonatomic, copy, nullable, readonly) NSString *apiKey

API key that differs from the main application API key.

logs

(nonatomic, assign, readonly) BOOL logs

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

The default value is NO.

Possible values:
  • YES — Reporter logging is enabled.
  • NO — Reporter logging is disabled.

sessionTimeout

(nonatomic, assign, readonly) NSUInteger sessionTimeout

Session timeout in seconds.

The default value is 10 (minimum allowed value).

statisticsSending

(nonatomic, assign, readonly) BOOL statisticsSending

A flag indicating that sending statistics is enabled.

The default value is YES.
Possible values:
  • YES — Sending statistics is enabled.
  • NO — Sending statistics is disabled.