AVAudioPlayer
E759691
AVAudioPlayer is an iOS and macOS framework class that provides a high-level interface for playing audio files, including control over playback, volume, looping, and metering.
Statements (49)
| Predicate | Object |
|---|---|
| instanceOf |
Objective-C class
ⓘ
Swift-bridged class ⓘ class ⓘ |
| category | audio playback API ⓘ |
| conformsToProtocol |
NSCopying
NERFINISHED
ⓘ
NSSecureCoding NERFINISHED ⓘ |
| definedInFramework | AVFoundation NERFINISHED ⓘ |
| hasDelegateProtocol | AVAudioPlayerDelegate NERFINISHED ⓘ |
| hasMethod |
averagePowerForChannel:
ⓘ
initWithContentsOfURL:error: ⓘ initWithData:error: ⓘ pause ⓘ peakPowerForChannel: ⓘ play ⓘ prepareToPlay ⓘ stop ⓘ updateMeters ⓘ |
| hasProperty |
currentTime
ⓘ
data ⓘ delegate ⓘ duration ⓘ enableRate ⓘ isPlaying ⓘ meteringEnabled ⓘ numberOfLoops ⓘ pan ⓘ rate ⓘ url ⓘ volume ⓘ |
| inheritsFrom | NSObject NERFINISHED ⓘ |
| introducedIn |
iOS 2.2
ⓘ
macOS 10.7 NERFINISHED ⓘ |
| partOf | Apple Developer SDK NERFINISHED ⓘ |
| platform |
iOS
ⓘ
macOS ⓘ tvOS NERFINISHED ⓘ watchOS NERFINISHED ⓘ |
| purpose | playback of audio files ⓘ |
| supports |
URL-based audio playback
ⓘ
data-based audio playback ⓘ local file playback ⓘ looping ⓘ metering ⓘ playback control ⓘ playback rate adjustment ⓘ stereo panning ⓘ volume control ⓘ |
| threadingModel | not thread-safe for concurrent use ⓘ |
| usedFor | simple audio playback in apps ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.