All pages
Powered by GitBook
1 of 1

Loading...

MTUSDKDelegate Delegate

MTUniversal API will invoke the callback function in this chapter to provide the requested data and/or a detailed response. To delegate the event, implements the MTUSDKDelegate interface.

onDeviceList

Handles BLE Service and EA Service events. Use this to find a BLE device or EA accessory.

(void) onDeviceList: (id) instance
withConnectionType: (MTU_ConnectionType) connectionType 
        deviceList: (NSArray<IDevice *> *) deviceList;

Parameter

Description

instance

Instance identifier.

withConnectionType

Enumerated connection type.

deviceList

Array of devices.

Return Value: None

Handles update of host system state.

Return Value: None

(void) onDeviceList: (SystemState) state;

Parameter

Description

state

Enumerated system state.

didSystemUpdateState