One Logo Pool Ball
CoreBluetooth · IOS API REFERENCE

CBService

class · iOS 5.0+ · SDK 27.1

class CBService

Members (4)

get · iOS 5.0+

characteristics

TypeScript
get characteristics(): (Array<CBCharacteristic>) | null
Swift declaration
var characteristics: [CBCharacteristic]? { get }
get · iOS 5.0+

includedServices

TypeScript
get includedServices(): (Array<CBService>) | null
Swift declaration
var includedServices: [CBService]? { get }
get · iOS 5.0+

isPrimary

TypeScript
get isPrimary(): boolean
Swift declaration
var isPrimary: Bool { get }
get · iOS 5.0+

peripheral

TypeScript
get peripheral(): (CBPeripheral) | null
Swift declaration
weak var peripheral: CBPeripheral? { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

CBService.init()

inherited init: clang: 'init' is unavailable

All CoreBluetooth types →