---
title: getPageScanRepetitionMode()
framework: IOBluetooth
role: symbol
role_heading: Instance Method
path: iobluetooth/iobluetoothdevice/getpagescanrepetitionmode()
---

# getPageScanRepetitionMode()

Get the value of the page scan repetition mode for the device.

## Declaration

```swift
func getPageScanRepetitionMode() -> BluetoothPageScanRepetitionMode
```

## Return Value

Return Value Returns the page scan repetition mode value for this device.

## Discussion

Discussion This value is only meaningful if the target device has been seen during an inquiry. This can be by checking the result of -getLastInquiryUpdate. If nil is returned, then the device hasn’t been seen.
