ZendriveVehicleBeacon
@interface ZendriveVehicleBeacon : NSObject
This class represents a unique combination of beacon and vehicleId. It is used to identify the beacons that are used to tag the trip with vehicle.
-
The identifier of the vehicle this beacon is placed in.
This should not be nil, should not have more than 64 characters and should satisfy
+[Zendrive isValidInputParameter:]
.Declaration
Objective-C
@property (nonatomic, nonnull) NSString *vehicleId;
-
The
ZendriveBeacon
object that encapsulates the UUID, major, minor of the beacon device that is placed in the vehicle.Declaration
Objective-C
@property (nonatomic, strong, nonnull) ZendriveBeacon *beacon;
-
Initializer for
ZendriveVehicleBeacon
.Declaration
Objective-C
- (nonnull id)initWithVehicleId:(NSString *_Nonnull)vehicleId beacon:(ZendriveBeacon *_Nonnull)beacon;
Parameters
vehicleId
The identifier of the vehicle.
beacon
The
ZendriveBeacon
object which enapsulates the beacon attributes.