# BluetoothClass.Service

Added in[API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# Service

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/bluetooth/BluetoothClass.Service "View this page in Java")  

```
class Service
```

|---|--------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                       ||
| ↳ | [android.bluetooth.BluetoothClass.Service](https://developer.android.com/reference/kotlin/android/bluetooth/BluetoothClass.Service#) |

Defines all service class constants.

Each[BluetoothClass](https://developer.android.com/reference/kotlin/android/bluetooth/BluetoothClass)encodes zero or more service classes.

## Summary

|                                                                                                                   Constants                                                                                                                    ||
|----------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------|
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [AUDIO](https://developer.android.com/reference/kotlin/android/bluetooth/BluetoothClass.Service#AUDIO:kotlin.Int) <br />                                     |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [CAPTURE](https://developer.android.com/reference/kotlin/android/bluetooth/BluetoothClass.Service#CAPTURE:kotlin.Int) <br />                                 |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [INFORMATION](https://developer.android.com/reference/kotlin/android/bluetooth/BluetoothClass.Service#INFORMATION:kotlin.Int) <br />                         |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [LE_AUDIO](https://developer.android.com/reference/kotlin/android/bluetooth/BluetoothClass.Service#LE_AUDIO:kotlin.Int) Represent devices LE audio service   |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [LIMITED_DISCOVERABILITY](https://developer.android.com/reference/kotlin/android/bluetooth/BluetoothClass.Service#LIMITED_DISCOVERABILITY:kotlin.Int) <br /> |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [NETWORKING](https://developer.android.com/reference/kotlin/android/bluetooth/BluetoothClass.Service#NETWORKING:kotlin.Int) <br />                           |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [OBJECT_TRANSFER](https://developer.android.com/reference/kotlin/android/bluetooth/BluetoothClass.Service#OBJECT_TRANSFER:kotlin.Int) <br />                 |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [POSITIONING](https://developer.android.com/reference/kotlin/android/bluetooth/BluetoothClass.Service#POSITIONING:kotlin.Int) <br />                         |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [RENDER](https://developer.android.com/reference/kotlin/android/bluetooth/BluetoothClass.Service#RENDER:kotlin.Int) <br />                                   |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [TELEPHONY](https://developer.android.com/reference/kotlin/android/bluetooth/BluetoothClass.Service#TELEPHONY:kotlin.Int) <br />                             |

|                                                    Public constructors                                                     ||
|-------------------------------------------------------------------------------------------------------------------------|---|
| [Service](https://developer.android.com/reference/kotlin/android/bluetooth/BluetoothClass.Service#Service())`()` <br /> |

## Constants

### AUDIO

Added in[API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val AUDIO: Int
```  

    Value: 2097152

### CAPTURE

Added in[API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val CAPTURE: Int
```  

    Value: 524288

### INFORMATION

Added in[API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val INFORMATION: Int
```  

    Value: 8388608

### LE_AUDIO

Added in[API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val LE_AUDIO: Int
```

Represent devices LE audio service  

    Value: 16384

### LIMITED_DISCOVERABILITY

Added in[API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val LIMITED_DISCOVERABILITY: Int
```  

    Value: 8192

### NETWORKING

Added in[API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val NETWORKING: Int
```  

    Value: 131072

### OBJECT_TRANSFER

Added in[API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val OBJECT_TRANSFER: Int
```  

    Value: 1048576

### POSITIONING

Added in[API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val POSITIONING: Int
```  

    Value: 65536

### RENDER

Added in[API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val RENDER: Int
```  

    Value: 262144

### TELEPHONY

Added in[API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val TELEPHONY: Int
```  

    Value: 4194304

## Public constructors

### Service

Added in[API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
Service()
```