RoadInfoObject
Objective-C
@interface RoadInfoObject : NSObject
Swift
class RoadInfoObject : NSObject
This class encapsulates road info information.
-
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;
-
Returns the shield type.
Declaration
Objective-C
- (RoadShieldType)getShieldType;
Swift
func getShieldType() -> RoadShieldType
-
Returns the road name.
Declaration
Objective-C
- (nonnull NSString *)getRoadName;
Swift
func getRoadName() -> String