One Logo Pool Ball
CoreAudio · IOS API REFERENCE

AudioChannelLayout.UnsafeMutablePointer

struct · iOS 13.0+ · SDK 27.1

struct UnsafeMutablePointer

Members (10)

get · iOS 13.0+

unsafePointer

TypeScript
get unsafePointer(): SDKHandle
Swift declaration
var unsafePointer: UnsafePointer<AudioChannelLayout> { get }
get · iOS 13.0+

unsafeMutablePointer

TypeScript
get unsafeMutablePointer(): SDKHandle
Swift declaration
var unsafeMutablePointer: UnsafeMutablePointer<AudioChannelLayout>
set · iOS 13.0+

unsafeMutablePointer

TypeScript
set unsafeMutablePointer(value: SDKHandle)
Swift declaration
var unsafeMutablePointer: UnsafeMutablePointer<AudioChannelLayout>
get · iOS 13.0+

startIndex

TypeScript
get startIndex(): number
Swift declaration
var startIndex: Int { get }

The position of the first element in a nonempty collection. If the collection is empty, `startIndex` is equal to `endIndex`.

get · iOS 13.0+

count

TypeScript
get count(): number
Swift declaration
var count: Int { get nonmutating set }

The number of `AudioChannelDescription`s Warning: Setting a new value will not change the allocated size and may result in invalid access past the allocation.

set · iOS 13.0+

count

TypeScript
set count(value: number)
Swift declaration
var count: Int { get nonmutating set }

The number of `AudioChannelDescription`s Warning: Setting a new value will not change the allocated size and may result in invalid access past the allocation.

get · iOS 13.0+

endIndex

TypeScript
get endIndex(): number
Swift declaration
var endIndex: Int { get }

The collection's "past the end" position---that is, the position one greater than the last valid subscript argument. When you need a range that includes the last element of a collection, use the half-open range operator (`..<`) with `endIndex`. The `..<` operator creates a range that doesn't include the upper bound, so it's always safe to use with `endIndex`. For example: let numbers = [10, 20, 30, 40, 50] if let index = numbers.firstIndex(of: 30) { print(numbers[index ..< numbers.endIndex]) } // Prints "[30, 40, 50]" If the collection is empty, `endIndex` is equal to `startIndex`.

init · iOS 13.0+

init

TypeScript
static init(p?: (SDKHandle) | null): (AudioChannelLayout_UnsafeMutablePointer) | null
Swift declaration
init?(_ p: UnsafeMutablePointer<AudioChannelLayout>?)
init · iOS 13.0+

init

TypeScript
static init253(p: SDKHandle): AudioChannelLayout_UnsafeMutablePointer
Swift declaration
init(_ p: UnsafeMutablePointer<AudioChannelLayout>)
subscript · iOS 13.0+

subscript

TypeScript
subscript(index: number): _CoreAudioTypes_AudioChannelDescription
Swift declaration
subscript(index: AudioChannelLayout.UnsafeMutablePointer.Index) -> AudioChannelLayout.UnsafeMutablePointer.Element { get nonmutating set }

Accesses the element at the specified position. For example, you can replace an element of an array by using its subscript. var streets = ["Adams", "Bryant", "Channing", "Douglas", "Evarts"] streets[1] = "Butler" print(streets[1]) // Prints "Butler" You can subscript a collection with any valid index other than the collection's end index. The end index refers to the position one past the last element of a collection, so it doesn't correspond with an element. - Parameter position: The position of the element to access. `position` must be a valid index of the collection that is not equal to the `endIndex` property. - Complexity: O(1)

Skipped declarations

No declarations were skipped in this snapshot.

All CoreAudio types →