AVAudioUnitComponentManager.GetComponents 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetComponents(AudioComponentDescription) |
查找与指定说明匹配的所有音频单元。 |
GetComponents(AVAudioUnitComponentFilter) |
查找由指定的测试处理程序匹配的所有音频单元。 |
GetComponents(NSPredicate) |
查找与指定谓词匹配的所有音频单元。 |
GetComponents(AudioComponentDescription)
查找与指定说明匹配的所有音频单元。
[Foundation.Export("componentsMatchingDescription:")]
public virtual AVFoundation.AVAudioUnitComponent[] GetComponents(AudioUnit.AudioComponentDescription desc);
abstract member GetComponents : AudioUnit.AudioComponentDescription -> AVFoundation.AVAudioUnitComponent[]
override this.GetComponents : AudioUnit.AudioComponentDescription -> AVFoundation.AVAudioUnitComponent[]
参数
返回
- 属性
适用于
GetComponents(AVAudioUnitComponentFilter)
查找由指定的测试处理程序匹配的所有音频单元。
[Foundation.Export("componentsPassingTest:")]
public virtual AVFoundation.AVAudioUnitComponent[] GetComponents(AVFoundation.AVAudioUnitComponentFilter testHandler);
abstract member GetComponents : AVFoundation.AVAudioUnitComponentFilter -> AVFoundation.AVAudioUnitComponent[]
override this.GetComponents : AVFoundation.AVAudioUnitComponentFilter -> AVFoundation.AVAudioUnitComponent[]
参数
- testHandler
- AVAudioUnitComponentFilter
返回
- 属性
适用于
GetComponents(NSPredicate)
查找与指定谓词匹配的所有音频单元。
[Foundation.Export("componentsMatchingPredicate:")]
public virtual AVFoundation.AVAudioUnitComponent[] GetComponents(Foundation.NSPredicate predicate);
abstract member GetComponents : Foundation.NSPredicate -> AVFoundation.AVAudioUnitComponent[]
override this.GetComponents : Foundation.NSPredicate -> AVFoundation.AVAudioUnitComponent[]
参数
- predicate
- NSPredicate
返回
- 属性