func pickerView()

in AmazonChimeSDKDemo/AmazonChimeSDKDemo/JoiningViewController.swift [204:216]


    func pickerView(_ pickerView: UIPickerView, numberOfRowsInComponent _: Int) -> Int {
        if pickerView == callKitOptionsPicker {
            return callKitOptions.count
        } else if pickerView == audioModeOptionsPicker {
            return audioModeOptions.count
        }  else if pickerView == audioDeviceCapabilitiesPicker {
            return audioDeviceCapabilitiesOptions.count
        } else if pickerView == reconnectTimeoutPicker {
            return reconnectTimeoutOptions.count
        } else {
            return 0
        }
    }