---
title: "setIndicator(_:value:)"
framework: IOBluetooth
role: symbol
role_heading: Instance Method
platforms: [macOS 10.7+]
path: "iobluetooth/iobluetoothhandsfree/setindicator(_:value:)"
---

# setIndicator(_:value:)

Set an indicator’s value

## Declaration

```swift
func setIndicator(_ indicatorName: String!, value indicatorValue: Int32)
```

## Parameters

- `indicatorName`: See “Hands free indicator constants,” for standard indicator names.
- `indicatorValue`: Will set the indicator value as long as it is within the min and max values allowed.

## Discussion

Discussion Sets an indicator’s value.
