Version: Smart Feature Phone 2.5

BluetoothAdapter.onscostatuschanged

Description#

Specifies an event listener to receive scostatuschanged events. Those events occur when a SCO connection status changes.

Syntax#

instanceOfBluetoothAdapter.onscostatuschanged = funcRef

Where funcRef is a function to be called when the scostatuschanged event occurs. That function gets a BluetoothStatusChangedEvent object as its first parameter.