Skip to content

iOS Docs

Hans Knöchel edited this page Jan 8, 2017 · 19 revisions

Supported API's

CentralManager

Methods

  • isScanning()
  • startScan()
  • startScanWithServices([String])
    • [String]: Required - Array of UUID-Strings
  • stopScan()
  • connectPeripheral(Peripheral, Object)
    • Peripheral: Required
    • Object: Optional - notifyOnConnection, notifyOnDisconnection, notifyOnNotification
  • cancelPeripheralConnection(Peripheral)
    • Peripheral: Required

Properties

  • state (MANAGER_STATE_*)

Events

  • didUpdateState
  • willRestoreState
  • didDiscoverPeripheral
  • didConnectPeripheral
  • didFailToConnectPeripheral

PeripheralManager

Methods

(To be documented)

Properties

(To be documented)

Events

(To be documented)

Central

Methods

(To be documented)

Properties

(To be documented)

Events

(To be documented)

Characteristic

Methods

(To be documented)

Properties

(To be documented)

Events

(To be documented)

Descriptor

Methods

(To be documented)

Properties

(To be documented)

Events

(To be documented)

Service

Methods

(To be documented)

Properties

(To be documented)

Events

(To be documented)

--

Constants

  • MANAGER_STATE_UNKNOWN (int)
  • MANAGER_STATE_UNSUPPORTED (int)
  • MANAGER_STATE_UNAUTHORIZED (int)
  • MANAGER_STATE_POWERED_OFF (int)
  • MANAGER_STATE_POWERED_ON (int)
  • MANAGER_STATE_RESETTING (int)
Clone this wiki locally