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 HKDevice allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

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

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

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

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

        @NotNull
        public static @NotNull 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

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

        @NotNull
        public static @NotNull 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 HKDevice 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

        @Nullable
        public @Nullable 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

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

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

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

        public HKDevice initWithNameManufacturerModelHardwareVersionFirmwareVersionSoftwareVersionLocalIdentifierUDIDeviceIdentifier​(@Nullable
                                                                                                                                     @Nullable java.lang.String name,
                                                                                                                                     @Nullable
                                                                                                                                     @Nullable java.lang.String manufacturer,
                                                                                                                                     @Nullable
                                                                                                                                     @Nullable java.lang.String model,
                                                                                                                                     @Nullable
                                                                                                                                     @Nullable java.lang.String hardwareVersion,
                                                                                                                                     @Nullable
                                                                                                                                     @Nullable java.lang.String firmwareVersion,
                                                                                                                                     @Nullable
                                                                                                                                     @Nullable java.lang.String softwareVersion,
                                                                                                                                     @Nullable
                                                                                                                                     @Nullable java.lang.String localIdentifier,
                                                                                                                                     @Nullable
                                                                                                                                     @Nullable 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

        @Nullable
        public @Nullable 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

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

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

        @Nullable
        public @Nullable 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

        @Nullable
        public @Nullable 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
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.