MYNT-EYE-S-SDK/wrappers/android/mynteye/scripts/mynteye.djinni

34 lines
919 B
Plaintext
Raw Normal View History

@extern "mynteye_types.yaml"
# Device class to communicate with MYNT® EYE device
device = interface +c {
# Query devices
static query(): list<device_usb_info>;
# Create the device instance
static create(info: device_usb_info): device;
# Get all stream requests
get_stream_requests(): list<stream_request>;
# Config the stream request
config_stream_request(request: stream_request);
# Start capturing the source
start(source: source);
# Stop capturing the source
stop(source: source);
# Wait the streams are ready
wait_for_streams();
# Get the latest data of stream
get_stream_data(stream: stream): stream_data;
# Get the datas of stream
get_stream_datas(stream: stream): list<stream_data>;
2019-01-27 17:34:47 +02:00
# Enable cache motion datas until get them, otherwise using callback instead
enable_motion_datas(max_size: i32);
# Get the motion datas
get_motion_datas(): list<motion_data>;
}