Table of Contents

Class BluetoothGattService

Namespace
Android.Bluetooth
Assembly
MASES.Netdroid.dll
public class BluetoothGattService : Parcelable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IParcelable
Inheritance
BluetoothGattService
Implements
Inherited Members
Extension Methods

Constructors

BluetoothGattService(UUID, int)

public BluetoothGattService(UUID arg0, int arg1)

Parameters

arg0 UUID

UUID

arg1 int

int

BluetoothGattService(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 BluetoothGattService(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

CREATOR

public static Parcelable.Creator CREATOR { get; set; }

Property Value

Parcelable.Creator

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

SERVICE_TYPE_PRIMARY

public static int SERVICE_TYPE_PRIMARY { get; set; }

Property Value

int

SERVICE_TYPE_SECONDARY

public static int SERVICE_TYPE_SECONDARY { get; set; }

Property Value

int

Methods

AddCharacteristic(BluetoothGattCharacteristic)

public bool AddCharacteristic(BluetoothGattCharacteristic arg0)

Parameters

arg0 BluetoothGattCharacteristic

BluetoothGattCharacteristic

Returns

bool

bool

AddService(BluetoothGattService)

public bool AddService(BluetoothGattService arg0)

Parameters

arg0 BluetoothGattService

BluetoothGattService

Returns

bool

bool

CreatePoolableInstance(UUID, int)

HPA initializer for BluetoothGattService(Java.Util.UUID arg0, int arg1)

public static BluetoothGattService CreatePoolableInstance(UUID arg0, int arg1)

Parameters

arg0 UUID
arg1 int

Returns

BluetoothGattService

DescribeContents()

public int DescribeContents()

Returns

int

int

GetCharacteristic(UUID)

public BluetoothGattCharacteristic GetCharacteristic(UUID arg0)

Parameters

arg0 UUID

UUID

Returns

BluetoothGattCharacteristic

BluetoothGattCharacteristic

GetCharacteristics()

public List<BluetoothGattCharacteristic> GetCharacteristics()

Returns

List<BluetoothGattCharacteristic>

List

GetIncludedServices()

public List<BluetoothGattService> GetIncludedServices()

Returns

List<BluetoothGattService>

List

GetInstanceId()

public int GetInstanceId()

Returns

int

int

GetType()

public int GetType()

Returns

int

int

GetUuid()

public UUID GetUuid()

Returns

UUID

UUID

WriteToParcel(Parcel, int)

public void WriteToParcel(Parcel arg0, int arg1)

Parameters

arg0 Parcel

Parcel

arg1 int

int