MBMMapPlayerOptions


@interface MBMMapPlayerOptions : NSObject

Options for playback.

  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)init;

    Swift

    init()
  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithPlaybackCount:(int32_t)playbackCount
                          playbackSpeedMultiplier:(double)playbackSpeedMultiplier
                              avoidPlaybackPauses:(BOOL)avoidPlaybackPauses;

    Swift

    init(playbackCount: Int32, playbackSpeedMultiplier: Double, avoidPlaybackPauses: Bool)
  • The number of times the sequence is played. If negative, the playback loops indefinitely.

    Declaration

    Objective-C

    @property (nonatomic, readonly) int32_t playbackCount;

    Swift

    var playbackCount: Int32 { get }
  • Multiplies the speed of playback for faster or slower replays. (1 means no change.)

    Declaration

    Objective-C

    @property (nonatomic, readonly) double playbackSpeedMultiplier;

    Swift

    var playbackSpeedMultiplier: Double { get }
  • When set to true, the player will try to interpolate actions between short wait actions, to continously render during the playback. This can help to maintain a consistent load during performance testing.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL avoidPlaybackPauses;

    Swift

    var avoidPlaybackPauses: Bool { get }