[−][src]Function libmpv_sys::mpv_get_property_async
pub unsafe extern "C" fn mpv_get_property_async(
ctx: *mut mpv_handle,
reply_userdata: u64,
name: *const c_char,
format: mpv_format
) -> c_int
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