mpv_unobserve_property method
Undo mpv_observe_property(). This will remove all observed properties for which the given number was passed as reply_userdata to mpv_observe_property.
Safe to be called from mpv render API threads.
@param registered_reply_userdata ID that was passed to mpv_observe_property @return negative value is an error code, >=0 is number of removed properties on success (includes the case when 0 were removed)
Implementation
int mpv_unobserve_property(
ffi.Pointer<mpv_handle> mpv,
int registered_reply_userdata,
) {
return _mpv_unobserve_property(
mpv,
registered_reply_userdata,
);
}