SwiftenumHomeKitEvents
enum HomeKitEvents.HMVCommands
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolHMFoundation.HMF.Logging
- protocolHomeKitEvents.Logging
Members 16
- func
static clearEnergyKitData(privateHomes: [Foundation.UUID], sharedHomes: [Foundation.UUID], deleteCloudZones: Bool) async throws -> () - func
static clearEvents(homes: [Foundation.UUID]?, deleteCloudZones: Bool) async throws -> () - func
static clearLocalDatabase(homes: [Foundation.UUID]?) async throws -> () - func
static createEncryptionKey(homeIdentifier: Foundation.UUID, keyIdentifier: Foundation.UUID, skipZoneCreation: Bool, effectiveDate: Foundation.Date?) async throws -> () - func
static createEvent(eventData: Foundation.Data, scope: HomeKitEvents.EventWriterScope, uploadOnly: Bool, saveOnly: Bool, skipZoneCreation: Bool) async throws -> () - func
static createEvents(eventsData: [Foundation.Data], scope: HomeKitEvents.EventWriterScope, uploadOnly: Bool, saveOnly: Bool, skipZoneCreation: Bool) async throws -> () - func
static createFakeEvents(date: Foundation.Date, homeIdentifier: Foundation.UUID, count: Int, scope: HomeKitEvents.EventWriterScope, uploadOnly: Bool, saveOnly: Bool, skipZoneCreation: Bool) async throws -> () - func
static deleteEncryptionKey(homeIdentifier: Foundation.UUID, keyIdentifier: Foundation.UUID) async throws -> () - func
static dumpLocalDatabase() async throws -> [Foundation.UUID : (HomeKitEvents.EventProtocol?, HomeKitEvents.HMVCommands.UnpackedEvent)] - func
static echo(String) async throws -> String - func
static ensureDigests(homeIdentifier: Foundation.UUID, customCreationDate: Foundation.Date?, targetCloudKitZone: HomeKitEvents.Configuration.TargetCloudKitZone) async throws -> () - func
static exit(Int) async throws -> () - func
static registerForTaskWithIdentifier(String) async throws -> () - func
static resetConfiguration() async throws -> () - func
static submitTaskRequestForIdentifier(String) async throws -> () - func
static uploadEvents(batchCount: Int?) async throws -> ()
Header
enum HMVCommands { struct UnpackedEvent { let dataType: Swift.Int64 let data: Foundation.Data } static func createFakeEvents(date: Foundation.Date, homeIdentifier: Foundation.UUID, count: Swift.Int, scope: HomeKitEvents.EventWriterScope, uploadOnly: Swift.Bool, saveOnly: Swift.Bool, skipZoneCreation: Swift.Bool) async throws static func clearEnergyKitData(privateHomes: [Foundation.UUID], sharedHomes: [Foundation.UUID], deleteCloudZones: Swift.Bool) async throws static func clearEvents(homes: [Foundation.UUID]?, deleteCloudZones: Swift.Bool) async throws static func createEvents(eventsData: [Foundation.Data], scope: HomeKitEvents.EventWriterScope, uploadOnly: Swift.Bool, saveOnly: Swift.Bool, skipZoneCreation: Swift.Bool) async throws static func uploadEvents(batchCount: Swift.Int?) async throws static func createEvent(eventData: Foundation.Data, scope: HomeKitEvents.EventWriterScope, uploadOnly: Swift.Bool, saveOnly: Swift.Bool, skipZoneCreation: Swift.Bool) async throws static func ensureDigests(homeIdentifier: Foundation.UUID, customCreationDate: Foundation.Date?, targetCloudKitZone: HomeKitEvents.Configuration.TargetCloudKitZone) async throws static func dumpLocalDatabase() async throws -> [Foundation.UUID : ((any HomeKitEvents.EventProtocol)?, HomeKitEvents.HMVCommands.UnpackedEvent)] static func clearLocalDatabase(homes: [Foundation.UUID]?) async throws static func resetConfiguration() async throws static func createEncryptionKey(homeIdentifier: Foundation.UUID, keyIdentifier: Foundation.UUID, skipZoneCreation: Swift.Bool, effectiveDate: Foundation.Date?) async throws static func deleteEncryptionKey(homeIdentifier: Foundation.UUID, keyIdentifier: Foundation.UUID) async throws static func registerForTaskWithIdentifier(_: Swift.String) async throws static func submitTaskRequestForIdentifier(_: Swift.String) async throws static func echo(_: Swift.String) async throws -> Swift.String static func exit(_: Swift.Int) async throws }