For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

didSystemUpdateState

Handles update of host system state.

(void) onDeviceList: (SystemState) state;

Parameter

Description

state

Enumerated system state.

Return Value: None

Last updated