am cfaa9c15: Merge "docs: small javadoc, but also make the existing getProfileProxy docs visible... had wrong comment tag" into honeycomb
* commit 'cfaa9c152cf7fbdf13b41876422fdfe9bffa3c2a': docs: small javadoc, but also make the existing getProfileProxy docs visible... had wrong comment tag
This commit is contained in:
@@ -1025,17 +1025,18 @@ public final class BluetoothAdapter {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* Get the profile proxy object associated with the profile.
|
* Get the profile proxy object associated with the profile.
|
||||||
*
|
*
|
||||||
* <p>Profile can be one of {@link BluetoothProfile.HEADSET} or
|
* <p>Profile can be one of {@link BluetoothProfile#HEADSET} or
|
||||||
* {@link BluetoothProfile.A2DP}. Clients must implements
|
* {@link BluetoothProfile#A2DP}. Clients must implements
|
||||||
* {@link BluetoothProfile.ServiceListener} to get notified of
|
* {@link BluetoothProfile.ServiceListener} to get notified of
|
||||||
* the connection status and to get the proxy object.
|
* the connection status and to get the proxy object.
|
||||||
*
|
*
|
||||||
* @param context Context of the application
|
* @param context Context of the application
|
||||||
* @param listener The service Listener for connection callbacks.
|
* @param listener The service Listener for connection callbacks.
|
||||||
* @param profile
|
* @param profile The Bluetooth profile; either {@link BluetoothProfile#HEADSET}
|
||||||
|
* or {@link BluetoothProfile#A2DP}.
|
||||||
* @return true on success, false on error
|
* @return true on success, false on error
|
||||||
*/
|
*/
|
||||||
public boolean getProfileProxy(Context context, BluetoothProfile.ServiceListener listener,
|
public boolean getProfileProxy(Context context, BluetoothProfile.ServiceListener listener,
|
||||||
|
|||||||
Reference in New Issue
Block a user