is-camera-on icon indicating copy to clipboard operation
is-camera-on copied to clipboard

Change listener

Open sindresorhus opened this issue 4 years ago • 2 comments

Could be useful to expose a way to be notified when the status changes.

Some resources:

  • https://stackoverflow.com/questions/42681127/coremediaio-incorrectly-updated-properties-kcmiodevicepropertydeviceisrunningso?rq=1
  • https://github.com/wouterdebie/onair/blob/52f2ea0b72793e1eee0f64478bc7c3a87c094a02/Sources/onair/Camera.swift
  • https://github.com/jakobwesthoff/on-air-notifier/blob/de4a5794c561be510b1a0537f229f03fbb6e6635/on-air-notifier/CameraWatcher.swift
  • https://github.com/lvsti/Cameo/blob/79d0037e839807b08e590cd7f8027e1a163aa456/CameoSDK/Property.swift

sindresorhus avatar Apr 06 '20 14:04 sindresorhus

Can I help with this?

Oluwasetemi avatar Apr 10 '20 04:04 Oluwasetemi

Sure :)

sindresorhus avatar Apr 10 '20 05:04 sindresorhus