Vuo  2.0.0
Instance Methods | Protected Attributes | List of all members
VuoVideoCaptureDeviceListener Class Reference

Description

A singleton class that listens for changes in available video input devices.

Definition at line 128 of file VuoVideoCapture.mm.

Instance Methods

(id) - init
 Init and register for NSNotification events. More...
 
(void) - devicesDidChange:
 Called when a change is detected. More...
 
(void) - addCallback:
 Add a callback to be triggered when the input list changes. More...
 
(void) - removeCallback:
 Remove a callback from the trigger set. More...
 

Protected Attributes

VuoTriggerSet< VuoList_VuoVideoInputDevicecallbacks
 A TriggerSet of VuoList_VuoVideoInputDevice output triggers. More...
 

Method Documentation

◆ addCallback:

- (void) addCallback: (void(*)(VuoList_VuoVideoInputDevice))  outputTrigger

Add a callback to be triggered when the input list changes.

Definition at line 158 of file VuoVideoCapture.mm.

◆ devicesDidChange:

- (void) devicesDidChange: (NSNotification*)  notif

Called when a change is detected.

Definition at line 169 of file VuoVideoCapture.mm.

◆ init

- (id) init

Init and register for NSNotification events.

Definition at line 141 of file VuoVideoCapture.mm.

◆ removeCallback:

- (void) removeCallback: (void(*)(VuoList_VuoVideoInputDevice))  outputTrigger

Remove a callback from the trigger set.

Definition at line 164 of file VuoVideoCapture.mm.

Member Data Documentation

◆ callbacks

- (VuoTriggerSet<VuoList_VuoVideoInputDevice>) callbacks
protected

A TriggerSet of VuoList_VuoVideoInputDevice output triggers.

Definition at line 130 of file VuoVideoCapture.mm.


The documentation for this class was generated from the following file: