native/dart_bridge_device library

Classes

DartBridgeDevice
Device bridge for C++ device manager operations. Matches Swift's CppBridge+Device.swift.
RacDeviceCallbacksStruct
Device callbacks struct matching rac_device_callbacks_t
RacDeviceHttpResponseStruct
HTTP response struct matching rac_device_http_response_t
RacDeviceRegistrationInfoStruct
Device registration info struct matching rac_device_registration_info_t

Typedefs

RacDeviceGetIdCallbackNative = IntPtr Function(Pointer<Void>)
Callback type: const char* (get_device_id)(void)
RacDeviceGetInfoCallbackNative = Void Function(Pointer<RacDeviceRegistrationInfoStruct>, Pointer<Void>)
Callback type: void (get_device_info)(rac_device_registration_info_t, void*)
RacDeviceHttpPostCallbackNative = Int32 Function(Pointer<Utf8>, Pointer<Utf8>, Int32, Pointer<RacDeviceHttpResponseStruct>, Pointer<Void>)
Callback type: rac_result_t (http_post)(const char, const char*, rac_bool_t, rac_device_http_response_t*, void*)
RacDeviceIsRegisteredCallbackNative = Int32 Function(Pointer<Void>)
Callback type: rac_bool_t (is_registered)(void)
RacDeviceSetRegisteredCallbackNative = Void Function(Int32, Pointer<Void>)
Callback type: void (set_registered)(rac_bool_t, void)