AVCaptureEventSound.Create(NSUrl, NSError) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.