Skip to main content

remove_device_observer

Function remove_device_observer 

Source
pub fn remove_device_observer(observer: DeviceObserver)
Expand description

Remove a device observer (macOS only).

Call this function when you no longer need to receive device notifications.

C++ equivalent: void MTL::RemoveDeviceObserver(const NS::Object* pObserver)