One Logo Pool Ball
AVKit · IOS API REFERENCE

AVCaptureEventInteraction

class · iOS 17.2+ · SDK 27.1

@MainActor class AVCaptureEventInteraction

Members (6)

get · iOS 26.0+

defaultCaptureSoundDisabled

TypeScript
static get defaultCaptureSoundDisabled(): Promise<boolean>
Swift declaration
class var defaultCaptureSoundDisabled: Bool { get set }
set · iOS 26.0+

defaultCaptureSoundDisabled

TypeScript
static setDefaultCaptureSoundDisabled(value: boolean): Promise<void>
Swift declaration
class var defaultCaptureSoundDisabled: Bool { get set }
init · iOS 17.2+

init

TypeScript
static initHandler(handler: ((arg0: AVCaptureEvent) => void)): Promise<AVCaptureEventInteraction>
Swift declaration
init(handler: @escaping (AVCaptureEvent) -> Void)
init · iOS 17.2+

init

TypeScript
static initPrimarySecondary(primaryHandler: ((arg0: AVCaptureEvent) => void), secondaryHandler: ((arg0: AVCaptureEvent) => void)): Promise<AVCaptureEventInteraction>
Swift declaration
init(primary primaryHandler: @escaping (AVCaptureEvent) -> Void, secondary secondaryHandler: @escaping (AVCaptureEvent) -> Void)
get · iOS 17.2+

isEnabled

TypeScript
get isEnabled(): Promise<boolean>
Swift declaration
var isEnabled: Bool { get set }
set · iOS 17.2+

isEnabled

TypeScript
setIsEnabled(value: boolean): Promise<void>
Swift declaration
var isEnabled: Bool { get set }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

AVCaptureEventInteraction.init()

inherited init: cannot prove legal (class declares 4 custom initializers)

All AVKit types →