Registers an external audio file for use as a custom waveform.
- iOS 13.0+
- Mac Catalyst 13.0+
- Core Haptics
The ID of the audio resource you'd like to register.
An error that contains information about failed resource registration, or
nilif no error occurred.
Before you initialize a Core Haptics event with your own audio file, use this method to register that file. External audio files are referenced via URL.
Input the value that this method returns when creating the dictionary or event representation of a haptic pattern.