HomeClientConfiguration

@MainActor
struct HomeClientConfiguration
extension HomeClientConfiguration : Sendable

Publicly-visible Configuration for GoogleHomeSDK.

  • Apple Team ID of the app using the SDK.

    Declaration

    Swift

    @MainActor
    var teamID: String
  • OAuth Client ID of the app using the SDK.

    Declaration

    Swift

    @MainActor
    var clientID: String
  • App Group used for shared storage with the Google Home Matter Commissioning SDK.

    This value must match the value used by the Google Home Matter Commissioning SDK. It must be registered in the entitlements for both the app and the Matter Commissioning App Extension.

    Declaration

    Swift

    @MainActor
    var sharedAppGroup: String
  • If true, an exception will be thrown when interacting with an unsupported trait or command. If false, commands/attribute writes will be sent and throw an error if the device does not support them.

    Declaration

    Swift

    @MainActor
    var strictOperationValidation: Bool
  • A list of traits and device types to be used by the Automations SDK.

    For Automations SDK to work correctly, this must be provided and include any traits and device types that the client depends on and plans to use with the Automations SDK.

    Declaration

    Swift

    @MainActor
    var referencedAutomationTypes: ReferencedAutomationTypes