MBMCameraChanged


@interface MBMCameraChanged : NSObject

This event is emitted whenever the visible viewport changes its size due to the invocation of the setSize and setBounds methods or when the camera is modified by calling camera methods. The event is emitted synchronously so that an updated camera state can be read immediately.

  • 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)initWithCameraState:(nonnull MBMCameraState *)cameraState
                                      timestamp:(nonnull NSDate *)timestamp NS_REFINED_FOR_SWIFT;
  • The current state of the camera.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nonnull) MBMCameraState *cameraState;
  • The time when the camera was changed.

    Declaration

    Objective-C

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

    Swift

    var timestamp: Date { get }