MatterCommissioningUtils

final class MatterCommissioningUtils

Undocumented

  • Checks if the given QR code payload is supported by the Google Home SDK.

    Declaration

    Swift

    static func isQRCodeSupported(onboardingPayload: String) -> Bool

    Parameters

    onboardingPayload

    The payload to check.

    Return Value

    True if the given payload is a supported by the Google Home SDK.

  • Constructs a MTRSetupPayload from the given onboarding payload.

    Declaration

    Swift

    static func matterSetupPayload(from onboardingPayload: String) -> MTRSetupPayload?

    Return Value

    The Matter setup payload, or nil if the given payload is not a Matter payload.