public static final class BluetoothClass.Service
extends Object



Defines all service class constants.

Each BluetoothClass encodes zero or more service classes.

Summary

Constants

int AUDIO
int CAPTURE
int INFORMATION
int LE_AUDIO

Represent devices LE audio service

int LIMITED_DISCOVERABILITY
int NETWORKING
int OBJECT_TRANSFER
int POSITIONING
int RENDER
int TELEPHONY

Public constructors

Service()

Inherited methods

From class java.lang.Object

Object clone()

Creates and returns a copy of this object.

boolean equals(Object obj)

Indicates whether some other object is "equal to" this one.

void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

final Class<?> getClass()

Returns the runtime class of this Object.

int hashCode()

Returns a hash code value for the object.

final void notify()

Wakes up a single thread that is waiting on this object's monitor.

final void notifyAll()

Wakes up all threads that are waiting on this object's monitor.

String toString()

Returns a string representation of the object.

final void wait(long timeoutMillis, int nanos)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait(long timeoutMillis)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait()

Causes the current thread to wait until it is awakened, typically by being notified or interrupted.

Constants

AUDIO

public static final int AUDIO

Constant Value: 2097152 (0x00200000)

CAPTURE

public static final int CAPTURE

Constant Value: 524288 (0x00080000)

INFORMATION

public static final int INFORMATION

Constant Value: 8388608 (0x00800000)

LE_AUDIO

public static final int LE_AUDIO

Represent devices LE audio service

Constant Value: 16384 (0x00004000)

LIMITED_DISCOVERABILITY

public static final int LIMITED_DISCOVERABILITY

Constant Value: 8192 (0x00002000)

NETWORKING

public static final int NETWORKING

Constant Value: 131072 (0x00020000)

OBJECT_TRANSFER

public static final int OBJECT_TRANSFER

Constant Value: 1048576 (0x00100000)

POSITIONING

public static final int POSITIONING

Constant Value: 65536 (0x00010000)

RENDER

public static final int RENDER

Constant Value: 262144 (0x00040000)

TELEPHONY

public static final int TELEPHONY

Constant Value: 4194304 (0x00400000)

Public constructors

Service

public Service ()

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2025-02-10 UTC.