mpv_get_property_async method
int
mpv_get_property_async(
- Pointer<
mpv_handle> ctx, - int reply_userdata,
- Pointer<
Char> name, - mpv_format format,
Get a property asynchronously. You will receive the result of the operation as well as the property data with the MPV_EVENT_GET_PROPERTY_REPLY event. You should check the mpv_event.error field on the reply event.
Safe to be called from mpv render API threads.
@param reply_userdata see section about asynchronous calls @param name The property name. @param format see enum mpv_format. @return error code if sending the request failed
Implementation
int mpv_get_property_async(
ffi.Pointer<mpv_handle> ctx,
int reply_userdata,
ffi.Pointer<ffi.Char> name,
mpv_format format,
) {
return _mpv_get_property_async(
ctx,
reply_userdata,
name,
format.value,
);
}