이제 Android 11 개발자 프리뷰를 사용할 수 있습니다. 테스트해 보고 의견을 공유하세요.

ParcelableVolumeInfo

open class ParcelableVolumeInfo : Parcelable
kotlin.Any
   ↳ android.support.v4.media.session.ParcelableVolumeInfo

Convenience class for passing information about the audio configuration of a MediaSessionCompat.

Summary

Public constructors

<init>(volumeType: Int, audioStream: Int, controlType: Int, maxVolume: Int, currentVolume: Int)

<init>(from: Parcel!)

Public methods

open Int

open Unit
writeToParcel(dest: Parcel!, flags: Int)

Properties

static Creator<ParcelableVolumeInfo!>!

Int

Int

Int

Int

Int

Public constructors

<init>

ParcelableVolumeInfo(volumeType: Int, audioStream: Int, controlType: Int, maxVolume: Int, currentVolume: Int)

<init>

ParcelableVolumeInfo(from: Parcel!)

Public methods

describeContents

open fun describeContents(): Int

writeToParcel

open fun writeToParcel(dest: Parcel!, flags: Int): Unit

Properties

CREATOR

static val CREATOR: Creator<ParcelableVolumeInfo!>!

audioStream

var audioStream: Int

controlType

var controlType: Int

currentVolume

var currentVolume: Int

maxVolume

var maxVolume: Int

volumeType

var volumeType: Int