---
title: "createIndicator(_:min:max:currentValue:)"
framework: IOBluetooth
role: symbol
role_heading: Instance Method
platforms: [macOS 10.7+]
path: "iobluetooth/iobluetoothhandsfreeaudiogateway/createindicator(_:min:max:currentvalue:)"
---

# createIndicator(_:min:max:currentValue:)

Sends a request to the Bluetooth device to show or update a status indicator.

## Declaration

```swift
func createIndicator(_ indicatorName: String!, min minValue: Int32, max maxValue: Int32, currentValue: Int32)
```

## Parameters

- `indicatorName`: The name of the indicator. Use one of the following constants: doc://com.apple.iobluetooth/documentation/IOBluetooth/IOBluetoothHandsFreeIndicatorService doc://com.apple.iobluetooth/documentation/IOBluetooth/IOBluetoothHandsFreeIndicatorCall doc://com.apple.iobluetooth/documentation/IOBluetooth/IOBluetoothHandsFreeIndicatorCallSetup doc://com.apple.iobluetooth/documentation/IOBluetooth/IOBluetoothHandsFreeIndicatorCallHeld doc://com.apple.iobluetooth/documentation/IOBluetooth/IOBluetoothHandsFreeIndicatorSignal doc://com.apple.iobluetooth/documentation/IOBluetooth/IOBluetoothHandsFreeIndicatorRoam doc://com.apple.iobluetooth/documentation/IOBluetooth/IOBluetoothHandsFreeIndicatorBattChg
- `minValue`: The minimum value for the indicator.
- `maxValue`: The maximum value for the indicator.
- `currentValue`: The current value of the indicator.

## See Also

### Showing Status Indicators

- [Status Indicator Constants](iobluetooth/status-indicator-constants.md)
