Class HMCharacteristic

  • All Implemented Interfaces:
    NSObjectProtocol, org.robovm.objc.ObjCProtocol

    public class HMCharacteristic
    extends NSObject
    Since:
    Available in iOS 8.0 and later.
    • Constructor Detail

      • HMCharacteristic

        public HMCharacteristic()
      • HMCharacteristic

        protected HMCharacteristic​(NSObject.Handle h,
                                   long handle)
    • Method Detail

      • getLocalizedDescription

        public java.lang.String getLocalizedDescription()
        Since:
        Available in iOS 9.0 and later.
      • isNotificationEnabled

        public boolean isNotificationEnabled()
      • getUniqueIdentifier

        public NSUUID getUniqueIdentifier()
        Since:
        Available in iOS 9.0 and later.
      • writeValue

        public void writeValue​(NSObject value,
                               org.robovm.objc.block.VoidBlock1<NSError> completion)
      • readValue

        public void readValue​(org.robovm.objc.block.VoidBlock1<NSError> completion)
      • enableNotification

        public void enableNotification​(boolean enable,
                                       org.robovm.objc.block.VoidBlock1<NSError> completion)
      • updateAuthorizationData

        public void updateAuthorizationData​(NSData data,
                                            org.robovm.objc.block.VoidBlock1<NSError> completion)