Class CMWaterSubmersionManager

  • All Implemented Interfaces:
    NSObject

    public class CMWaterSubmersionManager
    extends NSObject
    CMWaterSubmersionManager Discussion: API to retrieve values related to device state with respect to water submersion and measurements updates when device is submerged. API-Since: 16.0
    • Constructor Detail

      • CMWaterSubmersionManager

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • authorizationStatus

        public static long authorizationStatus()
        authorizationStatus Discussion: Checks to see if the client is authorized to use this API via TCC under Motion & Fitness.
      • 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()
      • delegate

        @Nullable
        public @Nullable CMWaterSubmersionManagerDelegate delegate()
        delegate Discussion: The delegate object to receive event and measurements updates. Setting of the delegate will invoke TCC, and updates are subject to client being authorized. By setting the delegate to a non-nil value, start event and measurement updates. Setting the delegate to nil will stop all updates.
      • 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)
      • resolveClassMethod

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

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

        public void setDelegate_unsafe​(@Nullable
                                       @Nullable CMWaterSubmersionManagerDelegate value)
        delegate Discussion: The delegate object to receive event and measurements updates. Setting of the delegate will invoke TCC, and updates are subject to client being authorized. By setting the delegate to a non-nil value, start event and measurement updates. Setting the delegate to nil will stop all updates.
      • setDelegate

        public void setDelegate​(@Nullable
                                @Nullable CMWaterSubmersionManagerDelegate value)
        delegate Discussion: The delegate object to receive event and measurements updates. Setting of the delegate will invoke TCC, and updates are subject to client being authorized. By setting the delegate to a non-nil value, start event and measurement updates. Setting the delegate to nil will stop all updates.
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

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

        public static long version_static()
      • waterSubmersionAvailable

        public static boolean waterSubmersionAvailable()
        waterSubmersionAvailable Discussion: Determines whether this feature is available on the current platform.
      • maximumDepth

        @Nullable
        public @Nullable NSMeasurement<NSUnitLength> maximumDepth()
        maximumDepth Discussion: Returns the maximum depth threshold that this client is authorized to receive. This is the threshold at which the API will change state to CMWaterSubmersionDepthStatePastMaxDepth. The API will continue to vend data until CMWaterSubmersionDepthStateSensorDepthError, 10% above this threshold. Returns nil if client is not authorized for submersion data.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.