Contents

enterWiredMode(using:)

Enters wired mode to perform maintenance operations with the given credential.

Declaration

func enterWiredMode(using credential: CredentialSession.Credential) async throws

Parameters

  • credential:

    The installed credential with which to enter wired mode.

Discussion

You can call this method in any session state. If successful, the state transitions to CredentialSession.State.wired(credential:). The state transitions to CredentialSession.State.management if the call encounters a CredentialSession.ErrorCode.resourceUnavailable error; otherwise the state remains unchanged.

See Also

Performing wired mode actions