MBMPerfStatsCollected


@interface MBMPerfStatsCollected : NSObject

Performance statistics are collected at the end of the configured window.

Note: It will be emitted only if performance statistics collection is enabled on the map.

  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)init NS_UNAVAILABLE;
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)new NS_UNAVAILABLE;
  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithStats:(nonnull id)stats
                                timestamp:(nonnull NSDate *)timestamp;

    Swift

    init(stats: Any, timestamp: Date)
  • A value object containing the collected statistics.

    Note: Currently there’s no guarantee on the format. The value can be dumped as a JSON and inspected on the client side.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nonnull) id stats;

    Swift

    var stats: Any { get }
  • The timestamp of the PerfStatsCollected event.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nonnull) NSDate *timestamp;

    Swift

    var timestamp: Date { get }