Class BluetoothGattServer
public class BluetoothGattServer : BluetoothProfile, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IBluetoothProfile
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<BluetoothProfile>BluetoothGattServer
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<BluetoothProfile>.IsAssignableFrom(IJavaType)JVMBridgeBase<BluetoothProfile>.IsAssignableFrom<T>()JVMBridgeBase<BluetoothProfile>.Execute<T>(params T[])JVMBridgeBase<BluetoothProfile>.DynBridgeClazzJVMBridgeBase<BluetoothProfile>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
BluetoothGattServer()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public BluetoothGattServer()
BluetoothGattServer(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public BluetoothGattServer(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Methods
AddService(BluetoothGattService)
public bool AddService(BluetoothGattService arg0)
Parameters
Returns
CancelConnection(BluetoothDevice)
public void CancelConnection(BluetoothDevice arg0)
Parameters
ClearServices()
public void ClearServices()
Close()
public void Close()
Connect(BluetoothDevice, bool)
public bool Connect(BluetoothDevice arg0, bool arg1)
Parameters
arg0
BluetoothDevicearg1
bool
Returns
GetConnectedDevices()
public List<BluetoothDevice> GetConnectedDevices()
Returns
GetConnectionState(BluetoothDevice)
public int GetConnectionState(BluetoothDevice arg0)
Parameters
Returns
GetDevicesMatchingConnectionStates(int[])
public List<BluetoothDevice> GetDevicesMatchingConnectionStates(int[] arg0)
Parameters
Returns
GetService(UUID)
public BluetoothGattService GetService(UUID arg0)
Parameters
Returns
GetServices()
public List<BluetoothGattService> GetServices()
Returns
NotifyCharacteristicChanged(BluetoothDevice, BluetoothGattCharacteristic, bool)
[Obsolete]
public bool NotifyCharacteristicChanged(BluetoothDevice arg0, BluetoothGattCharacteristic arg1, bool arg2)
Parameters
arg0
BluetoothDevicearg1
BluetoothGattCharacteristicarg2
bool
Returns
NotifyCharacteristicChanged(BluetoothDevice, BluetoothGattCharacteristic, bool, byte[])
public int NotifyCharacteristicChanged(BluetoothDevice arg0, BluetoothGattCharacteristic arg1, bool arg2, byte[] arg3)
Parameters
arg0
BluetoothDevicearg1
BluetoothGattCharacteristicarg2
boolarg3
byte[]
Returns
ReadPhy(BluetoothDevice)
public void ReadPhy(BluetoothDevice arg0)
Parameters
RemoveService(BluetoothGattService)
public bool RemoveService(BluetoothGattService arg0)
Parameters
Returns
SendResponse(BluetoothDevice, int, int, int, byte[])
public bool SendResponse(BluetoothDevice arg0, int arg1, int arg2, int arg3, byte[] arg4)
Parameters
arg0
BluetoothDevicearg1
intarg2
intarg3
intarg4
byte[]
Returns
SetPreferredPhy(BluetoothDevice, int, int, int)
public void SetPreferredPhy(BluetoothDevice arg0, int arg1, int arg2, int arg3)
Parameters
arg0
BluetoothDevicearg1
intarg2
intarg3
int