State
@objc(ZDState)
public class State : NSObject
Represents the current state of the Zendrive SDK.
-
The current configuration of the SDK. Refer to
Configuration
for further details.Declaration
Swift
@objc public var zendriveConfiguration: Configuration!
-
Is the SDK currently tracking a drive?
Declaration
Swift
@objc public var isDriveInProgress: Bool
-
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
Swift
@objc public var shiftDetails: ShiftDetail?
-
Current value of pausedTillTimestamp. pausedTillTimestamp is set when
Zendrive.pauseAutoTracking(_:)
gets called.Declaration
Swift
@objc public var pausedTillTimestamp: Int64