Syntax
-(BOOL)openSession;
Parameters
None
Return value
Returns YES if a BOOL EASession could be generated. Otherwise, it returns NO.
Remarks
- Set yourself as a delegate in the currently held EA Accessory.
- Generate and get an EASession. At the time of generation, setupControllerForAccessory: accessory: withProtocolString Use the EAAccessory and protocolString specified in.
Requirements
#import <OPHBluetoothService/OPHBluetoothService.h>
Sample
OPHBluetoothService *sessionController = [OPHBluetoothService sharedController]; [sessionController openSession];
Related matters
Last updated: 2022/05/09