RTCAudioRouteManagerImpl

Properties

Link copied to clipboard
public static AtomicInteger scoReconnectAttempts

Functions

Link copied to clipboard
public RCAudioRouteType getCurrentRouteType()
Link copied to clipboard
Link copied to clipboard
public boolean hasBluetoothA2dpConnected()
Link copied to clipboard
public boolean hasHeadSet()
Link copied to clipboard
public boolean hasInit()
Link copied to clipboard
public void init(Context context)
Link copied to clipboard
public boolean isBluetoothHeadSet()
Link copied to clipboard
public boolean isSpeakerphoneEnabled()
Link copied to clipboard
public void resetAudioRouteState()
Link copied to clipboard
public void restartSco()
Link copied to clipboard
public void setDefaultToSpeaker(boolean on)
Link copied to clipboard
public void setOnAudioRouteChangedListener(IRCRTCAudioRouteListener listener)
设置输出设备切换监听
Link copied to clipboard
public void setSpeakerphoneOn(boolean on)
Link copied to clipboard
public void startSco4Bluetooth()
可重复调用,内部有拦截
Link copied to clipboard
public void stopSco4Bluetooth()
可重复调用
Link copied to clipboard
public void unInit()