Get the value of the page scan period mode for the device.
SDK
- macOS 10.2+
Framework
- IOBluetooth
Declaration
func getPageScanPeriodMode() -> Bluetooth Page Scan Period Mode
Return Value
Returns page scan period mode value for the device.
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.