One Logo Pool Ball
PHASE · IOS API REFERENCE

PHASEAssetRegistry

class · iOS 15.0+ · SDK 27.1

class PHASEAssetRegistry

Members (7)

method · iOS 15.0+

asset

TypeScript
asset(identifier: string): (PHASEAsset) | null
Swift declaration
func asset(forIdentifier identifier: String) -> PHASEAsset?
method · iOS 15.0+

registerGlobalMetaParameter

TypeScript
registerGlobalMetaParameter(metaParameterDefinition: PHASEMetaParameterDefinition): PHASEGlobalMetaParameterAsset
Swift declaration
func registerGlobalMetaParameter(metaParameterDefinition: PHASEMetaParameterDefinition) throws -> PHASEGlobalMetaParameterAsset
method · iOS 15.0+

registerSoundAsset

TypeScript
registerSoundAssetUrlIdentifierAssetTypeChannelLayoutNormalizationMode(url: string, identifier: (string) | null, assetType: PHASEAsset_AssetType, channelLayout: (_AVFAudio_AVAudioChannelLayout) | null, normalizationMode: PHASENormalizationMode): PHASESoundAsset
Swift declaration
func registerSoundAsset(url: URL, identifier: String?, assetType: PHASEAsset.AssetType, channelLayout: AVAudioChannelLayout?, normalizationMode: PHASENormalizationMode) throws -> PHASESoundAsset
method · iOS 15.0+

registerSoundAsset

TypeScript
registerSoundAssetDataIdentifierFormatNormalizationMode(data: ArrayBuffer, identifier: (string) | null, format: _AVFAudio_AVAudioFormat, normalizationMode: PHASENormalizationMode): PHASESoundAsset
Swift declaration
func registerSoundAsset(data: Data, identifier: String?, format: AVAudioFormat, normalizationMode: PHASENormalizationMode) throws -> PHASESoundAsset
method · iOS 15.0+

registerSoundEventAsset

TypeScript
registerSoundEventAsset(rootNode: PHASESoundEventNodeDefinition, identifier?: (string) | null): PHASESoundEventNodeAsset
Swift declaration
func registerSoundEventAsset(rootNode: PHASESoundEventNodeDefinition, identifier: String?) throws -> PHASESoundEventNodeAsset
method · iOS 15.0+

unregisterAsset

TypeScript
unregisterAsset(identifier: string, handler?: (((arg0: boolean) => void)) | null): void
Swift declaration
func unregisterAsset(identifier: String) async -> Bool
get · iOS 15.0+

globalMetaParameters

TypeScript
get globalMetaParameters(): Record<string, PHASEMetaParameter>
Swift declaration
var globalMetaParameters: [String : PHASEMetaParameter] { get }

Skipped declarations

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

All PHASE types →