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 attributes are applied to audio output and, when enabled, audio focus management.

The content type, flags and usage values are the platform ones. Use the constants defined in AudioAttributes, for example AudioAttributes.USAGE_MEDIA or AudioAttributes.CONTENT_TYPE_MOVIE.

Since:
4.1.9