MBMGeoJSONSourceData
@interface MBMGeoJSONSourceData : NSObject
// This class provides factory method which should be called
- (nonnull instancetype)init NS_UNAVAILABLE;
// This class provides factory method which should be called
+ (nonnull instancetype)new NS_UNAVAILABLE;
+ (nonnull instancetype)fromGeometry:(nonnull MBXGeometry *)value;
+ (nonnull instancetype)fromFeature:(nonnull MBXFeature *)value;
+ (nonnull instancetype)fromNSArray:(nonnull NSArray<MBXFeature *> *)value;
+ (nonnull instancetype)fromNSString:(nonnull NSString *)value;
- (BOOL)isGeometry;
- (BOOL)isFeature;
- (BOOL)isNSArray;
- (BOOL)isNSString;
- (nonnull MBXGeometry *)getGeometry __attribute((ns_returns_retained));
- (nonnull MBXFeature *)getFeature __attribute((ns_returns_retained));
- (nonnull NSArray<MBXFeature *> *)getNSArray __attribute((ns_returns_retained));
- (nonnull NSString *)getNSString __attribute((ns_returns_retained));
@property (nonatomic, readonly) MBMGeoJSONSourceDataType type;
@end
Undocumented
-
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)fromGeometry:(nonnull MBXGeometry *)value;
Swift
class func fromGeometry(_ value: MBXGeometry) -> Self
-
Undocumented
Declaration
Objective-C
+ (nonnull instancetype)fromFeature:(nonnull MBXFeature *)value;
Swift
class func fromFeature(_ value: MBXFeature) -> Self
-
Undocumented
Declaration
Objective-C
+ (nonnull instancetype)fromNSArray:(nonnull NSArray<MBXFeature *> *)value;
Swift
class func fromNSArray(_ value: [MBXFeature]) -> Self
-
Undocumented
Declaration
Objective-C
+ (nonnull instancetype)fromNSString:(nonnull NSString *)value;
Swift
class func fromNSString(_ value: String) -> Self
-
Undocumented
Declaration
Objective-C
- (BOOL)isGeometry;
Swift
func isGeometry() -> Bool
-
Undocumented
Declaration
Objective-C
- (BOOL)isFeature;
Swift
func isFeature() -> Bool
-
Undocumented
Declaration
Objective-C
- (BOOL)isNSArray;
Swift
func isNSArray() -> Bool
-
Undocumented
Declaration
Objective-C
- (BOOL)isNSString;
Swift
func isNSString() -> Bool
-
Undocumented
Declaration
Objective-C
- (nonnull MBXGeometry *)getGeometry __attribute((ns_returns_retained));
Swift
func getGeometry() -> MBXGeometry
-
Undocumented
Declaration
Objective-C
- (nonnull MBXFeature *)getFeature __attribute((ns_returns_retained));
Swift
func getFeature() -> MBXFeature
-
Undocumented
Declaration
Objective-C
- (nonnull NSArray<MBXFeature *> *)getNSArray __attribute((ns_returns_retained));
Swift
func getNSArray() -> [MBXFeature]
-
Undocumented
Declaration
Objective-C
- (nonnull NSString *)getNSString __attribute((ns_returns_retained));
Swift
func getNSString() -> String
-
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) MBMGeoJSONSourceDataType type
Swift
var type: GeoJSONSourceDataType { get }