MBMRenderFrameFinished


@interface MBMRenderFrameFinished : NSObject

The map finished rendering a frame.

Note: The map will emit the event asynchronously so the user-provided callback does not stall the rendering pipeline.

  • 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)initWithRenderMode:(MBMRenderModeType)renderMode
                                  needsRepaint:(BOOL)needsRepaint
                              placementChanged:(BOOL)placementChanged
                                  timeInterval:(nonnull MBMEventTimeInterval *)timeInterval;

    Swift

    init(renderMode: RenderModeType, needsRepaint: Bool, placementChanged: Bool, timeInterval: MBMEventTimeInterval)
  • The property tells whether the map rendered the frame with all required or partially available data.

    Declaration

    Objective-C

    @property (nonatomic, readonly) MBMRenderModeType renderMode;

    Swift

    var renderMode: RenderModeType { get }
  • The property provides information about whether the map will request rendering of the next frame.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL needsRepaint;

    Swift

    var needsRepaint: Bool { get }
  • The property tells if the symbol placement has been changed in the visible viewport.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL placementChanged;

    Swift

    var placementChanged: Bool { get }
  • The timeInterval.begin is when the map started rendering the frame, and timeInterval.end is when the frame was rendered.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nonnull) MBMEventTimeInterval *timeInterval;

    Swift

    var timeInterval: MBMEventTimeInterval { get }