[−][src]Function libmpv_sys::mpv_client_id
pub unsafe extern "C" fn mpv_client_id(ctx: *mut mpv_handle) -> i64
Return the ID of this client handle. Every client has its own unique ID. This ID is never reused by the core, even if the mpv_handle at hand gets destroyed and new handles get allocated.
IDs are never 0 or negative.
Some mpv APIs (not necessarily all) accept a name in the form "@
@return The client name. The string is read-only and is valid until the mpv_handle is destroyed.