Skip to content

Modules.BLE.Service

A collection of data and associated behaviors that accomplish a function or feature of a device.

represent services of a remote peripheral. Services are either primary or secondary and may contain multiple characteristics or included services (references to other services).

Extends: Titanium.Proxy · Since: 1.0.0 · Platforms: android, iphone, ipad

Properties #

characteristics#

Type: Array<Modules.BLE.Characteristic>

A list of characteristics discovered in this service.

includedServices#

Type: Array<Modules.BLE.Service>

A list of included services discovered in this service.

isPrimary#

Type: Boolean

A Boolean value that indicates whether the type of service is primary or secondary.

peripheral#

Type: Modules.BLE.Peripheral

The peripheral to which this service belongs.

uuid#

Type: String

The Bluetooth-specific UUID of the attribute.

Titanium SDK Documentation