AI-generated Key Takeaways
-
GMTSVehicleTypeis a data object that holds information about a vehicle's type. -
The
categoryproperty specifies the vehicle's type using theGMTSVehicleTypeCategoryenum. -
You can initialize a
GMTSVehicleTypeobject using the-initWithCategory:method in Objective-C or its equivalent in Swift. -
The default init method (
-init) is unavailable for this data object.
GMTSVehicleType
@interface GMTSVehicleType : GMTCImmutableDataData object containing information about the type of the vehicle.
-
The vehicle type category, see
GMTSVehicleTypeCategoryfor all the options.Declaration
Swift
var category: GMTSVehicleTypeCategory { get }Objective-C
@property (nonatomic, readonly) GMTSVehicleTypeCategory category; -
Declaration
Swift
init(category: GMTSVehicleTypeCategory)Objective-C
- (instancetype)initWithCategory:(GMTSVehicleTypeCategory)category NS_DESIGNATED_INITIALIZER; -
Unavailable
Declaration
Objective-C
- (instancetype)init NS_UNAVAILABLE;