Package com.castlabs.android.player
Class AudioAttributes
- java.lang.Object
-
- com.castlabs.android.player.AudioAttributes
-
- All Implemented Interfaces:
Parcelable
public final class AudioAttributes extends Object implements Parcelable
Attributes for audio playback.These will affect how the Player interacts with
AudioFocusManager.- Since:
- 4.1.9
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAudioAttributes.BuilderBuilder forAudioAttributes.-
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T extends Object>, Parcelable.Creator<T extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static Parcelable.Creator<AudioAttributes>CREATOR-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdescribeContents()booleanequals(Object o)intgetContentType()intgetFlags()intgetUsage()inthashCode()voidwriteToParcel(Parcel dest, int flags)
-
-
-
Field Detail
-
CREATOR
public static final Parcelable.Creator<AudioAttributes> CREATOR
-
-
Method Detail
-
getContentType
@AudioContentType public int getContentType()
-
getFlags
@AudioFlags public int getFlags()
-
getUsage
@AudioUsage public int getUsage()
-
describeContents
public int describeContents()
- Specified by:
describeContentsin interfaceParcelable
-
writeToParcel
public void writeToParcel(Parcel dest, int flags)
- Specified by:
writeToParcelin interfaceParcelable
-
-