• 서비스
  • 가격
  • 리소스
  • 기술지원
이 페이지는 현재 영어로만 제공되며 한국어 버전은 곧 제공될 예정입니다. 기다려 주셔서 감사드립니다.

Switch Bluetooth Headset

Feature Overview

When no Bluetooth headphones are connected, it supports only the selection of speaker and earpiece. If Bluetooth headphones are detected, switching between Bluetooth headphones, earpiece, and speaker is implemented by using the Apple AVRoutePickerView component.
Note:
Note: Currently, the switch function for Bluetooth headphones is only supported on the iOS platform.

Usage

1. No Bluetooth headphones connected. Use the UI in TUICallKit to switch between speaker and earpiece. The UI adjustment is as follows.
Earpiece
Speaker






2. After connecting Bluetooth headphones, the style of the audio route selection button in TUICallKit changes. Click the button to awaken AVRoutePickerView, switch audio route from AVRoutePickerView, and the button name in TUICallKit will follow.
Audio Route Toggle Button When Connecting Bluetooth Headphones
AVRoutePickerView