canSwitchSpeakerphone property

bool canSwitchSpeakerphone

Implementation

bool get canSwitchSpeakerphone =>
    lkPlatformIs(PlatformType.iOS) &&
    !_preferSpeakerOutput &&
    [AudioTrackState.localOnly, AudioTrackState.localAndRemote]
        .contains(audioTrackState);