IVSDevicePresets
Objective-C
@interface IVSDevicePresets : NSObject
Swift
class IVSDevicePresets : NSObject
Combinations for commonly accessed IVSDeviceDescriptor
objects.
-
Picks the front camera and default system audio input.
Declaration
Objective-C
- (nonnull NSArray<IVSDeviceDescriptor *> *)frontCamera;
Swift
func frontCamera() -> [IVSDeviceDescriptor]
-
Picks the back camera and default system audio input.
Declaration
Objective-C
- (nonnull NSArray<IVSDeviceDescriptor *> *)backCamera;
Swift
func backCamera() -> [IVSDeviceDescriptor]
-
Returns the default system audio input and no image inputs.
Declaration
Objective-C
- (nonnull NSArray<IVSDeviceDescriptor *> *)microphone;
Swift
func microphone() -> [IVSDeviceDescriptor]