MBMViewAnnotationPositionDescriptor
@interface MBMViewAnnotationPositionDescriptor : NSObject
Read-only data that is needed to correctly position the single view annotation on screen. Used inside ViewAnnotationPositionsUpdateListener callback to notify the listener about the visible view annotations’ position updates.
-
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)initWithIdentifier:(nonnull NSString *)identifier width:(uint32_t)width height:(uint32_t)height leftTopCoordinate:(nonnull MBMScreenCoordinate *)leftTopCoordinate NS_REFINED_FOR_SWIFT; -
Unique id in order to lookup an actual view in platform SDKs.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nonnull) NSString *identifier;Swift
var identifier: String { get } -
View annotation width in
platform pixelsfor drawing the annotation.Declaration
Objective-C
@property (nonatomic, readonly) uint32_t width;Swift
var width: UInt32 { get } -
View annotation height in
platform pixelsfor drawing the annotation.Declaration
Objective-C
@property (nonatomic, readonly) uint32_t height;Swift
var height: UInt32 { get } -
Left-top screen coordinate in
platform pixelsfor view annotation.Declaration
Objective-C
@property (nonatomic, readonly, nonnull) MBMScreenCoordinate *leftTopCoordinate;Swift
var leftTopCoordinate: MBMScreenCoordinate { get }
MBMViewAnnotationPositionDescriptor Class Reference