Package com.castlabs.android.player
Class AudioAttributes
java.lang.Object
com.castlabs.android.player.AudioAttributes
- All Implemented Interfaces:
Parcelable
Attributes for audio playback.
These will affect how the Player interacts with AudioFocusManager
.
- Since:
- 4.1.9
-
Nested Class Summary
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
-
Field Summary
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
int
int
getFlags()
int
getUsage()
int
hashCode()
void
writeToParcel
(Parcel dest, int flags)
-
Field Details
-
CREATOR
-
-
Method Details
-
getContentType
@AudioContentType public int getContentType() -
getFlags
@AudioFlags public int getFlags() -
getUsage
@AudioUsage public int getUsage() -
describeContents
public int describeContents()- Specified by:
describeContents
in interfaceParcelable
-
writeToParcel
- Specified by:
writeToParcel
in interfaceParcelable
-
equals
-
hashCode
public int hashCode()
-