| 1234567891011121314151617 |
- //
- // RileyLinkDeviceManager.swift
- // Loop
- //
- // Copyright © 2017 LoopKit Authors. All rights reserved.
- //
- import RileyLinkBLEKit
- extension RileyLinkDeviceProvider {
- public func firstConnectedDevice(_ completion: @escaping (_ device: RileyLinkDevice?) -> Void) {
- getDevices { (devices) in
- completion(devices.firstConnected)
- }
- }
- }
|