ZendriveState
@interface ZendriveState : NSObject
Represents the current state of the Zendrive SDK.
-
The current configuration of the SDK. Refer to
ZendriveConfiguration
for further details.Declaration
Objective-C
@property ZendriveConfiguration *zendriveConfiguration;
-
Is the SDK currently tracking a drive?
Declaration
Objective-C
@property BOOL isDriveInProgress;
-
Current value of pausedTillTimestamp. pausedTillTimestamp is set when
+[Zendrive pauseAutoTracking:error:]
gets called.Declaration
Objective-C
@property long long pausedTillTimestamp;
-
Current value of businessHour. businessHour is set when the SDK detects a change in the business hours set by the fleet manager and the current business hours applied on the SDK.
Declaration
Objective-C
@property ZendriveShiftDetail *businessHour;