Share via


AVCaptureEventSound.Create(NSUrl, NSError) Method

Definition

Create a new AVCaptureEventSound instance for the specified url.

public static AVKit.AVCaptureEventSound? Create(Foundation.NSUrl url, out Foundation.NSError? error);
static member Create : Foundation.NSUrl * NSError -> AVKit.AVCaptureEventSound

Parameters

url
NSUrl

The url for a local file from within the app bundle.

error
NSError

The error in case of failure.

Returns

A new AVCaptureEventSound instance if successful, otherwise error will be an error for the failure.

Applies to