requestOpenSession(withCredentials:password:)
Opens a session on the protected device with the authorized username and passcode.
Declaration
func requestOpenSession(withCredentials username: String, password: String)Discussion
If the device reports a failure of credentials, you can provide them here for the launch. A client must open a session on a device in order to use the device.
Before calling this method, set the receiver’s delegate; otherwise, the request is ignored.
Once the request to open the session has completed, device(_:didOpenSessionWithError:) is called on the delegate.
No more messages are sent to the delegate if this request fails.