One Logo Pool Ball
MusicUnderstanding · IOS API REFERENCE

InstrumentActivityResult.Instrument

struct · iOS 27.0+ · SDK 27.1

struct Instrument

A type that identifies a specific instrument category. The framework defines four built-in categories: ``vocal``, ``drum``, ``bass``, and ``other``. The ``other`` category groups any instruments that don't fall into the other three categories.

Members (6)

get · iOS 27.0+

bass

TypeScript
get bass(): InstrumentActivityResult_Instrument
Swift declaration
static let bass: InstrumentActivityResult.Instrument

The key to use to obtain bass activity from an `InstrumentActivityResult`

get · iOS 27.0+

drum

TypeScript
get drum(): InstrumentActivityResult_Instrument
Swift declaration
static let drum: InstrumentActivityResult.Instrument

The key to use to obtain drum activity from an `InstrumentActivityResult`

get · iOS 27.0+

other

TypeScript
get other(): InstrumentActivityResult_Instrument
Swift declaration
static let other: InstrumentActivityResult.Instrument

The key to use to obtain other instrument activity from an `InstrumentActivityResult`

get · iOS 27.0+

vocal

TypeScript
get vocal(): InstrumentActivityResult_Instrument
Swift declaration
static let vocal: InstrumentActivityResult.Instrument

The key to use to obtain vocal activity from an `InstrumentActivityResult`

get · iOS 27.0+

rawValue

TypeScript
getRawValue($self: InstrumentActivityResult_Instrument): string
Swift declaration
let rawValue: String

The raw value String.

get · iOS 27.0+

codingKey

TypeScript
getCodingKey($self: InstrumentActivityResult_Instrument): SDKHandle
Swift declaration
var codingKey: any CodingKey { get }

Skipped declarations

2 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

InstrumentActivityResult.Instrument

The iOS SDK compiler rejected this binding: type 'InstrumentActivityResult.Instrument' does not conform to protocol 'RawRepresentable'

InstrumentActivityResult.Instrument.init(codingKey:)

This declaration needs Swift generic type arguments. (no canonical witness for T)

All MusicUnderstanding types →