Class BluetoothHealth
[Obsolete("Deprecated in JVM")]
public class BluetoothHealth : BluetoothProfile, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IBluetoothProfile
- Inheritance
-
BluetoothHealth
- Implements
- Inherited Members
- Extension Methods
Constructors
BluetoothHealth(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public BluetoothHealth(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
APP_CONFIG_REGISTRATION_FAILURE
[Obsolete("Deprecated in JVM")]
public static int APP_CONFIG_REGISTRATION_FAILURE { get; set; }
Property Value
APP_CONFIG_REGISTRATION_SUCCESS
[Obsolete("Deprecated in JVM")]
public static int APP_CONFIG_REGISTRATION_SUCCESS { get; set; }
Property Value
APP_CONFIG_UNREGISTRATION_FAILURE
[Obsolete("Deprecated in JVM")]
public static int APP_CONFIG_UNREGISTRATION_FAILURE { get; set; }
Property Value
APP_CONFIG_UNREGISTRATION_SUCCESS
[Obsolete("Deprecated in JVM")]
public static int APP_CONFIG_UNREGISTRATION_SUCCESS { get; set; }
Property Value
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
CHANNEL_TYPE_RELIABLE
https://developer.android.com/reference/android/bluetooth/BluetoothHealth.html#CHANNEL_TYPE_RELIABLE
[Obsolete("Deprecated in JVM")]
public static int CHANNEL_TYPE_RELIABLE { get; set; }
Property Value
CHANNEL_TYPE_STREAMING
[Obsolete("Deprecated in JVM")]
public static int CHANNEL_TYPE_STREAMING { get; set; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
SINK_ROLE
[Obsolete("Deprecated in JVM")]
public static int SINK_ROLE { get; set; }
Property Value
SOURCE_ROLE
[Obsolete("Deprecated in JVM")]
public static int SOURCE_ROLE { get; set; }
Property Value
STATE_CHANNEL_CONNECTED
[Obsolete("Deprecated in JVM")]
public static int STATE_CHANNEL_CONNECTED { get; set; }
Property Value
STATE_CHANNEL_CONNECTING
[Obsolete("Deprecated in JVM")]
public static int STATE_CHANNEL_CONNECTING { get; set; }
Property Value
STATE_CHANNEL_DISCONNECTED
[Obsolete("Deprecated in JVM")]
public static int STATE_CHANNEL_DISCONNECTED { get; set; }
Property Value
STATE_CHANNEL_DISCONNECTING
[Obsolete("Deprecated in JVM")]
public static int STATE_CHANNEL_DISCONNECTING { get; set; }
Property Value
Methods
ConnectChannelToSource(BluetoothDevice, BluetoothHealthAppConfiguration)
[Obsolete("Deprecated in JVM")]
public bool ConnectChannelToSource(BluetoothDevice arg0, BluetoothHealthAppConfiguration arg1)
Parameters
Returns
DisconnectChannel(BluetoothDevice, BluetoothHealthAppConfiguration, int)
[Obsolete("Deprecated in JVM")]
public bool DisconnectChannel(BluetoothDevice arg0, BluetoothHealthAppConfiguration arg1, int arg2)
Parameters
arg0BluetoothDevicearg1BluetoothHealthAppConfigurationarg2int
Returns
GetConnectedDevices()
https://developer.android.com/reference/android/bluetooth/BluetoothHealth.html#getConnectedDevices()
[Obsolete("Deprecated in JVM")]
public List<BluetoothDevice> GetConnectedDevices()
Returns
GetConnectionState(BluetoothDevice)
[Obsolete("Deprecated in JVM")]
public int GetConnectionState(BluetoothDevice arg0)
Parameters
Returns
GetDevicesMatchingConnectionStates(int[])
[Obsolete("Deprecated in JVM")]
public List<BluetoothDevice> GetDevicesMatchingConnectionStates(int[] arg0)
Parameters
Returns
GetMainChannelFd(BluetoothDevice, BluetoothHealthAppConfiguration)
[Obsolete("Deprecated in JVM")]
public ParcelFileDescriptor GetMainChannelFd(BluetoothDevice arg0, BluetoothHealthAppConfiguration arg1)
Parameters
Returns
RegisterSinkAppConfiguration(String, int, BluetoothHealthCallback)
[Obsolete("Deprecated in JVM")]
public bool RegisterSinkAppConfiguration(String arg0, int arg1, BluetoothHealthCallback arg2)
Parameters
arg0Stringarg1intarg2BluetoothHealthCallback
Returns
UnregisterAppConfiguration(BluetoothHealthAppConfiguration)
[Obsolete("Deprecated in JVM")]
public bool UnregisterAppConfiguration(BluetoothHealthAppConfiguration arg0)