SwiftenumHomeKitEvents

enum HomeKitEvents.HMVCommands

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 16

  1. funcstatic clearEnergyKitData(privateHomes: [Foundation.UUID], sharedHomes: [Foundation.UUID], deleteCloudZones: Bool) async throws -> ()
  2. funcstatic clearEvents(homes: [Foundation.UUID]?, deleteCloudZones: Bool) async throws -> ()
  3. funcstatic clearLocalDatabase(homes: [Foundation.UUID]?) async throws -> ()
  4. funcstatic createEncryptionKey(homeIdentifier: Foundation.UUID, keyIdentifier: Foundation.UUID, skipZoneCreation: Bool, effectiveDate: Foundation.Date?) async throws -> ()
  5. funcstatic createEvent(eventData: Foundation.Data, scope: HomeKitEvents.EventWriterScope, uploadOnly: Bool, saveOnly: Bool, skipZoneCreation: Bool) async throws -> ()
  6. funcstatic createEvents(eventsData: [Foundation.Data], scope: HomeKitEvents.EventWriterScope, uploadOnly: Bool, saveOnly: Bool, skipZoneCreation: Bool) async throws -> ()
  7. funcstatic createFakeEvents(date: Foundation.Date, homeIdentifier: Foundation.UUID, count: Int, scope: HomeKitEvents.EventWriterScope, uploadOnly: Bool, saveOnly: Bool, skipZoneCreation: Bool) async throws -> ()
  8. funcstatic deleteEncryptionKey(homeIdentifier: Foundation.UUID, keyIdentifier: Foundation.UUID) async throws -> ()
  9. funcstatic dumpLocalDatabase() async throws -> [Foundation.UUID : (HomeKitEvents.EventProtocol?, HomeKitEvents.HMVCommands.UnpackedEvent)]
  10. funcstatic echo(String) async throws -> String
  11. funcstatic ensureDigests(homeIdentifier: Foundation.UUID, customCreationDate: Foundation.Date?, targetCloudKitZone: HomeKitEvents.Configuration.TargetCloudKitZone) async throws -> ()
  12. funcstatic exit(Int) async throws -> ()
  13. funcstatic registerForTaskWithIdentifier(String) async throws -> ()
  14. funcstatic resetConfiguration() async throws -> ()
  15. funcstatic submitTaskRequestForIdentifier(String) async throws -> ()
  16. funcstatic uploadEvents(batchCount: Int?) async throws -> ()
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
}