Android.Bluetooth.BluetoothHealth Members

The members of Android.Bluetooth.BluetoothHealth are listed below.

See Also: Inherited members from Java.Lang.Object

Public Fields

const
AppConfigRegistrationFailureHealthApplicationConfig (1). Health App Configuration registration failure
const
AppConfigRegistrationSuccessHealthApplicationConfig (0). Health App Configuration registration success
const
AppConfigUnregistrationFailureHealthApplicationConfig (3). Health App Configuration un-registration failure
const
AppConfigUnregistrationSuccessHealthApplicationConfig (2). Health App Configuration un-registration success
const
ChannelTypeReliableHealthChannelType (10). Health Profile - Channel Type used - Reliable
const
ChannelTypeStreamingHealthChannelType (11). Health Profile - Channel Type used - Streaming
const
SinkRoleRoleType (2). Health Profile Sink Role the device talking to the health device.
const
SourceRoleRoleType (1). Health Profile Source Role - the health device.
const
StateChannelConnectedHealthState (2). Health Channel Connection State - Connected
const
StateChannelConnectingHealthState (1). Health Channel Connection State - Connecting
const
StateChannelDisconnectedHealthState (0). Health Channel Connection State - Disconnected
const
StateChannelDisconnectingHealthState (3). Health Channel Connection State - Disconnecting

Public Properties

[read-only]
ConnectedDevicesIList<BluetoothDevice>. Get connected devices for the health profile.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

ConnectChannelToSource(BluetoothDevice, BluetoothHealthAppConfiguration) : bool
Connect to a health device which has the BluetoothHealth.SourceRole.
DisconnectChannel(BluetoothDevice, BluetoothHealthAppConfiguration, int) : bool
Disconnect a connected health channel.
GetConnectionState(BluetoothDevice) : ProfileState
Get the current connection state of the profile.
GetDevicesMatchingConnectionStates(ProfileState[]) : IList<BluetoothDevice>
Get a list of devices that match any of the given connection states.
GetMainChannelFd(BluetoothDevice, BluetoothHealthAppConfiguration) : Android.OS.ParcelFileDescriptor
Get the file descriptor of the main channel associated with the remote device and application configuration.
RegisterSinkAppConfiguration(string, int, BluetoothHealthCallback) : bool
Register an application configuration that acts as a Health SINK.
UnregisterAppConfiguration(BluetoothHealthAppConfiguration) : bool
Unregister an application configuration that has been registered using BluetoothHealth.RegisterSinkAppConfiguration(string, System.Int32, System.Int32)