Contents

requestOpenSession()

Requests to open a session on the device.

Declaration

func requestOpenSession()

Discussion

Set the receiver’s delegate before calling this method; otherwise, the request is ignored.

Once the request to open the session has completed, device(_:didOpenSessionWithError:) is called on the delegate.

Execution of the delegate callback occurs on the main thread.

See Also

Managing a Device