int function ( ) { if ( mService != null ) { try { return mService . getState ( ) ; } catch ( RemoteException loc0 ) { Log . loc0 ( TAG , loc0 . toString ( ) ) ; } } else { Log . w ( TAG , "srini_string" ) ; } return BluetoothHeadset . STATE_ERROR ; }
get the current state of the bluetooth headset service . concode_field_sep IBluetoothHeadset mService concode_elem_sep String TAG concode_elem_sep int STATE_CONNECTED concode_elem_sep ServiceListener mServiceListener concode_elem_sep int STATE_CONNECTING concode_elem_sep Context mContext concode_elem_sep int STATE_DISCONNECTED concode_elem_sep ServiceConnection mConnection concode_elem_sep int STATE_ERROR concode_field_sep void onServiceDisconnected concode_elem_sep void onServiceDisconnected concode_elem_sep void onServiceConnected concode_elem_sep void onServiceConnected concode_elem_sep void finalize concode_elem_sep void close