value property

int get value

Implementation

int get value {
  switch (this) {
    case AudioOutputDevice.kSpeakerPhone:
      return 0;
    case AudioOutputDevice.kWiredHeadset:
      return 1;
    case AudioOutputDevice.kEarpiece:
      return 2;
    case AudioOutputDevice.kBluetoothHeadset:
      return 3;
  }
}