Status
public struct Status : Equatable
Information about the camera status.
-
Undocumented
Declaration
Swift
public let videoOn: Bool
-
Undocumented
Declaration
Swift
public let photoIntervalOn: Bool
-
Undocumented
Declaration
Swift
public let usedStorageMib: Float
-
Undocumented
Declaration
Swift
public let availableStorageMib: Float
-
Undocumented
Declaration
Swift
public let totalStorageMib: Float
-
Undocumented
Declaration
Swift
public let recordingTimeS: Float
-
Undocumented
Declaration
Swift
public let mediaFolderName: String
-
Undocumented
Declaration
Swift
public let storageStatus: StorageStatus
-
Undocumented
Declaration
Swift
public let storageID: UInt32
-
Undocumented
Declaration
Swift
public let storageType: StorageType
-
Storage status type.
See moreDeclaration
Swift
public enum StorageStatus : Equatable
-
Storage type.
See moreDeclaration
Swift
public enum StorageType : Equatable
-
init(videoOn:
photoIntervalOn: usedStorageMib: availableStorageMib: totalStorageMib: recordingTimeS: mediaFolderName: storageStatus: storageID: storageType: ) Initializes a new
Status
.Declaration
Swift
public init(videoOn: Bool, photoIntervalOn: Bool, usedStorageMib: Float, availableStorageMib: Float, totalStorageMib: Float, recordingTimeS: Float, mediaFolderName: String, storageStatus: StorageStatus, storageID: UInt32, storageType: StorageType)
Parameters
videoOn
Whether video recording is currently in process
photoIntervalOn
Whether a photo interval is currently in process
usedStorageMib
Used storage (in MiB)
availableStorageMib
Available storage (in MiB)
totalStorageMib
Total storage (in MiB)
recordingTimeS
Elapsed time since starting the video recording (in seconds)
mediaFolderName
Current folder name where media are saved
storageStatus
Storage status
storageID
Storage ID starting at 1
storageType
Storage type
-
Declaration
Swift
public static func == (lhs: Status, rhs: Status) -> Bool