Contents

accept(sessionRequest:)

Handles a new session request for the accessory.

Declaration

func accept(sessionRequest: AccessoryTransportSession.Request) -> AccessoryTransportSession.Request.Decision

Parameters

  • sessionRequest:

    An Request instance you use to accept or reject the session.

Discussion

Implement this callback and respond to its invocations by the framework.

See Also

Accepting session requests