YMMMutableReporterConfiguration class
The mutable version of the YMMReporterConfiguration class with the advanced configuration of the reporter.
Properties
logs | Enables/disables logging the activity of the library. |
maxReportsInDatabaseCount | The maximum number of error reports stored in the internal DB. |
sessionTimeout | Sets the session timeout in seconds. |
statisticsSending | Enables/disables sending statistics to the AppMetrica server. |
userProfileID | Sets the ID of the user profile ( |
logs | Enables/disables logging the activity of the library. |
maxReportsInDatabaseCount | The maximum number of error reports stored in the internal DB. |
sessionTimeout | Sets the session timeout in seconds. |
statisticsSending | Enables/disables sending statistics to the AppMetrica server. |
userProfileID | Sets the ID of the user profile ( |
Property descriptions
logs
(nonatomic, assign) BOOL logs
Enables/disables logging the activity of the library.
Logging is disabled by default.
maxReportsInDatabaseCount
@property (assign, readwrite, nonatomic) NSUInteger maxReportsInDatabaseCount;
The maximum number of error reports stored in the internal DB.
The allowed range of values is [100; 10000]. Values outside this range are automatically replaced with values from the nearest range limits.
Default value: 1000.
apiKeys
and independent limits on the number of events can be set for them. This parameter only affects the limitation for the corresponding apiKey
. To change the maximum allowed number of events for other apiKeys
, use YMMYandexMetricaConfiguration.maxReportsInDatabaseCount.sessionTimeout
(nonatomic, assign) NSUInteger sessionTimeout
Sets the session timeout in seconds.
The default value is 10
(minimum allowed value).
statisticsSending
(nonatomic, assign) BOOL statisticsSending
Enables/disables sending statistics to the AppMetrica server.
By default, sending is enabled.
userProfileID
(nonatomic, copy, nullable) NSString *userProfileID
Sets the ID of the user profile (ProfileID
) when activated.
ProfileID
string is 200 characters.