Audiofile Class Reference
Inherits from | NSObject |
---|---|
Conforms to | NSCopying |
Declared in | Audiofile.h |
Overview
Represents an audio track. Instances of this become available via the [AdaptrAudioPlayer currentItem]
property.
metadata
Arbitrary metadata attached to this song
@property (readonly) NSDictionary *metadata
Declared In
Audiofile.h
duration
Track duration in seconds
@property (readonly) NSTimeInterval duration
Declared In
Audiofile.h
replayGain
Used internally to keep perceived volume levels equal
@property (readonly) double replayGain
Declared In
Audiofile.h
preGain
Used internally to pre-boost the volume of this song
@property double preGain
Declared In
Audiofile.h
– initWithJSON:
Creates Audiofile from the JSON provided.
- (id)initWithJSON:(id)jsonDictionary
Parameters
jsonDictionary |
JSON dictionary |
---|
Return Value
returns new Audiofile instance
Declared In
Audiofile.h
– initWithJSON:station:
Creates Audiofile from the JSON and station provided.
- (id)initWithJSON:(id)jsonDictionary station:(Station *)station
Parameters
jsonDictionary |
JSON dictionary |
---|---|
station |
Station that the play was created in |
Return Value
returns new Audiofile instance
Declared In
Audiofile.h