asset
TypeScriptasset(identifier: string): (PHASEAsset) | nullSwift declarationfunc asset(forIdentifier identifier: String) -> PHASEAsset?class · iOS 15.0+ · SDK 27.1
class PHASEAssetRegistryasset(identifier: string): (PHASEAsset) | nullSwift declarationfunc asset(forIdentifier identifier: String) -> PHASEAsset?registerGlobalMetaParameter(metaParameterDefinition: PHASEMetaParameterDefinition): PHASEGlobalMetaParameterAssetSwift declarationfunc registerGlobalMetaParameter(metaParameterDefinition: PHASEMetaParameterDefinition) throws -> PHASEGlobalMetaParameterAssetregisterSoundAssetUrlIdentifierAssetTypeChannelLayoutNormalizationMode(url: string, identifier: (string) | null, assetType: PHASEAsset_AssetType, channelLayout: (_AVFAudio_AVAudioChannelLayout) | null, normalizationMode: PHASENormalizationMode): PHASESoundAssetSwift declarationfunc registerSoundAsset(url: URL, identifier: String?, assetType: PHASEAsset.AssetType, channelLayout: AVAudioChannelLayout?, normalizationMode: PHASENormalizationMode) throws -> PHASESoundAssetregisterSoundAssetDataIdentifierFormatNormalizationMode(data: ArrayBuffer, identifier: (string) | null, format: _AVFAudio_AVAudioFormat, normalizationMode: PHASENormalizationMode): PHASESoundAssetSwift declarationfunc registerSoundAsset(data: Data, identifier: String?, format: AVAudioFormat, normalizationMode: PHASENormalizationMode) throws -> PHASESoundAssetregisterSoundEventAsset(rootNode: PHASESoundEventNodeDefinition, identifier?: (string) | null): PHASESoundEventNodeAssetSwift declarationfunc registerSoundEventAsset(rootNode: PHASESoundEventNodeDefinition, identifier: String?) throws -> PHASESoundEventNodeAssetunregisterAsset(identifier: string, handler?: (((arg0: boolean) => void)) | null): voidSwift declarationfunc unregisterAsset(identifier: String) async -> Boolget globalMetaParameters(): Record<string, PHASEMetaParameter>Swift declarationvar globalMetaParameters: [String : PHASEMetaParameter] { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
PHASEAssetRegistry.init()
inherited init: clang: 'init' is unavailable