enableNotification
TypeScriptenableNotification(enable: boolean, completion: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc enableNotification(_ enable: Bool) async throwsclass · iOS 8.0+ · SDK 27.1
class HMCharacteristicenableNotification(enable: boolean, completion: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc enableNotification(_ enable: Bool) async throwsstatic init(): HMCharacteristicSwift declarationinit()readValue(completion: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc readValue() async throwsupdateAuthorizationData(data: (ArrayBuffer) | null, completion: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc updateAuthorizationData(_ data: Data?) async throwswriteValue(value: (unknown) | null, completion: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc writeValue(_ value: Any?) async throwsget characteristicType(): stringSwift declarationvar characteristicType: String { get }get localizedDescription(): stringSwift declarationvar localizedDescription: String { get }get metadata(): (HMCharacteristicMetadata) | nullSwift declarationvar metadata: HMCharacteristicMetadata? { get }get isNotificationEnabled(): booleanSwift declarationvar isNotificationEnabled: Bool { get }get properties(): Array<string>Swift declarationvar properties: [String] { get }get service(): (HMService) | nullSwift declarationweak var service: HMService? { get }get uniqueIdentifier(): stringSwift declarationvar uniqueIdentifier: UUID { get }get value(): (unknown) | nullSwift declarationvar value: Any? { get }No declarations were skipped in this snapshot.