OverlayCollectionObject
Objective-C
@interface OverlayCollectionObject : NSObject
Swift
class OverlayCollectionObject : NSObject
This class encapsulates overlay collection details.
-
Initializes and returns a newly allocated object using the model data.
Declaration
Objective-C
- (nonnull instancetype)initWithModelData:(nonnull void *)data;
-
Returns the model data.
Declaration
Objective-C
- (nonnull void *)getModelData;
-
Get the number of overlay datasets in this collection.
Declaration
Objective-C
- (int)size;
Swift
func size() -> Int32
-
Get the overlay at the specified index.
Declaration
Objective-C
- (nullable OverlayInfoObject *)getOverlayAt:(int)index;
Swift
func getOverlayAt(_ index: Int32) -> OverlayInfoObject?
-
Get the overlay having the specified UID.
Declaration
Objective-C
- (nullable OverlayInfoObject *)getOverlayByUid:(int)overlayUid;
Swift
func getOverlayByUid(_ overlayUid: Int32) -> OverlayInfoObject?
-
Get all overlays in the collection.
Declaration
Objective-C
- (nonnull NSArray<OverlayInfoObject *> *)getOverlays;
Swift
func getOverlays() -> [OverlayInfoObject]