개요
차량과 관련된 기능 데이터가 포함된 객체입니다.
이 데이터는 최대 용량과 같은 프로필 데이터 또는 현재 이동 및 위치와 같은 추적 데이터일 수 있습니다.
GMTCImmutableData를 상속합니다.
공개 멤버 함수 | |
(인스턴스 유형) | - initWithvehicleName:vehicleState:supportedTripTypes:currentTrips:lastLocation:maximumCapacity:attributes:vehicleType: |
객체의 초기화 | |
속성 | |
NSString * | vehicleName |
차량의 이름입니다. | |
GMTSVehicleState | vehicleState |
차량 상태입니다. 모든 옵션은 GMTSVehicleState를 참고하세요. | |
GMTSVehicleSupportedTripTypes | supportedTripTypes |
지원되는 이동 유형입니다. 모든 옵션은 GMTSVehicleSupportedTripTypes를 참고하세요. | |
NSArray< NSString * > * | currentTrips |
배열에는 현재의 모든 이동 ID가 포함됩니다. | |
GMTSVehicleLocation * | lastLocation |
차량의 마지막 위치입니다. | |
int32_t | maximumCapacity |
최대 용량입니다. | |
NSArray < GMTSVehicleAttributeKeyValuePair * > * | 속성 |
배열에는 모든 차량 속성이 포함됩니다. | |
GMTSVehicleType * | vehicleType |
차량 유형 정보입니다. |
멤버 함수 문서
- (instancetype) initWithvehicleName: | (nullable NSString *) | vehicleName | |
차량상태: | (GMTSVehicleState) | vehicleState | |
supportedTripTypes: | (GMTSVehicleSupportedTripTypes) | supportedTripTypes | |
currentTrips: | (nullable NSArray< NSString * > *) | currentTrips | |
마지막 위치: | (null을 허용하는 GMTSVehicleLocation *) | lastLocation | |
maxCapacity: | (int32_t) | maximumCapacity | |
속성: | (nullable NSArray< GMTSVehicleAttributeKeyValuePair * > *) | 속성 | |
차량 유형: | (GMTSVehicleType *) | vehicleType | |
객체의 초기화
- 매개변수:
-
vehicleName 차량의 이름입니다. vehicleState 차량 상태입니다. 모든 옵션은 GMTSVehicleState를 참고하세요. supportedTripTypes 지원되는 모든 이동 유형입니다. currentTrips 배열에는 현재의 모든 이동 ID가 포함됩니다. lastLocation 차량의 마지막 위치입니다. maximumCapacity 최대 용량입니다. 속성 사전에는 모든 차량 속성이 포함됩니다. vehicleType 차량 유형 정보입니다.
부동산 관련 문서
- (NSString*) vehicleName [read, copy] |
차량의 이름입니다.
- (GMTSVehicleState) vehicleState [read, assign] |
차량 상태입니다. 모든 옵션은 GMTSVehicleState를 참고하세요.
- (GMTSVehicleSupportedTripTypes) supportedTripTypes [read, assign] |
지원되는 이동 유형입니다. 모든 옵션은 GMTSVehicleSupportedTripTypes를 참고하세요.
- (NSArray<NSString *>*) currentTrips [read, copy] |
배열에는 현재의 모든 이동 ID가 포함됩니다.
- (GMTSVehicleLocation*) lastLocation [read, copy] |
차량의 마지막 위치입니다.
- (int32_t) maximumCapacity [read, assign] |
최대 용량입니다.
- (NSArray<GMTSVehicleAttributeKeyValuePair *>*) 속성 [read, copy] |
배열에는 모든 차량 속성이 포함됩니다.
- (GMTSVehicleType*) vehicleType [read, copy] |
차량 유형 정보입니다.