Class HKDevice

    • Constructor Detail

      • HKDevice

        protected HKDevice​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • alloc

        public static HKDevice alloc()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • localDevice

        public static HKDevice localDevice()
        localDevice Returns a device representing the host. If an app chooses to save samples that were retrieved from the local device, e.g. an HKWorkout with a totalDistance HKQuantity gathered from CoreLocation GPS distances, then this would be an appropriate HKDevice to use.
      • new_objc

        public static java.lang.Object new_objc()
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • version_static

        public static long version_static()
      • UDIDeviceIdentifier

        public java.lang.String UDIDeviceIdentifier()
        [@property] UDIDeviceIdentifier Represents the device identifier portion of a device's FDA UDI (Unique Device Identifier). The device identifier can be used to reference the FDA's GUDID (Globally Unique Device Identifier Database). Note that for user privacy concerns this field should not be used to persist the production identifier portion of the device UDI. HealthKit clients should manage the production identifier independently, if needed. See http://www.fda.gov/MedicalDevices/DeviceRegulationandGuidance/UniqueDeviceIdentification/ for more information.
      • copyWithZone

        public java.lang.Object copyWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • firmwareVersion

        public java.lang.String firmwareVersion()
        [@property] firmwareVersion The firmware revision of the receiver.
      • hardwareVersion

        public java.lang.String hardwareVersion()
        [@property] hardwareVersion The hardware revision of the receiver.
      • initWithNameManufacturerModelHardwareVersionFirmwareVersionSoftwareVersionLocalIdentifierUDIDeviceIdentifier

        public HKDevice initWithNameManufacturerModelHardwareVersionFirmwareVersionSoftwareVersionLocalIdentifierUDIDeviceIdentifier​(java.lang.String name,
                                                                                                                                     java.lang.String manufacturer,
                                                                                                                                     java.lang.String model,
                                                                                                                                     java.lang.String hardwareVersion,
                                                                                                                                     java.lang.String firmwareVersion,
                                                                                                                                     java.lang.String softwareVersion,
                                                                                                                                     java.lang.String localIdentifier,
                                                                                                                                     java.lang.String UDIDeviceIdentifier)
        initWithName:manufacturer:model:hardwareVersion:firmwareVersion:softwareVersion:localIdentifier:UDIDeviceIdentifier: Initialize a new HKDevice with the specified values. This allows initialization of an HKDevice object based on the information provided.
      • localIdentifier

        public java.lang.String localIdentifier()
        [@property] localIdentifier A unique identifier for the receiver. This property is available to clients for a local identifier. For example, Bluetooth peripherals managed by HealthKit use this for the CoreBluetooth UUID which is valid only on the local device and thus distinguish the same Bluetooth peripheral used between multiple devices.
      • manufacturer

        public java.lang.String manufacturer()
        [@property] manufacturer The manufacturer of the receiver.
      • model

        public java.lang.String model()
        [@property] model The model of the receiver.
      • name

        public java.lang.String name()
        [@property] name The name of the receiver. The user-facing name, such as the one displayed in the Bluetooth Settings for a BLE device.
      • softwareVersion

        public java.lang.String softwareVersion()
        [@property] softwareVersion The software revision of the receiver.
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.
        Specified by:
        _supportsSecureCoding in interface NSSecureCoding