Package apple.oslog

Class OSLogMessageComponent

  • All Implemented Interfaces:
    NSCoding, NSSecureCoding, NSObject

    public class OSLogMessageComponent
    extends NSObject
    implements NSSecureCoding
    OSLogMessageComponent The message arguments for a particular entry. There is one component for each placeholder in the formatString plus one component for any text after the last placeholder. API-Since: 15.0
    • Constructor Detail

      • OSLogMessageComponent

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static OSLogMessageComponent allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • argumentCategory

        public long argumentCategory()
        [@property] argumentCategory The type of argument corresponding to the placeholder; see OSLogMessageComponentArgumentCategory. API-Since: 15.0
      • argumentDataValue

        @Nullable
        public @Nullable NSData argumentDataValue()
        [@property] argumentDataValue The argument as a sequence of bytes. Can be nil if the argument cannot be decoded (for example, it could be redacted), or if this is the last component. API-Since: 15.0
      • argumentDoubleValue

        public double argumentDoubleValue()
        [@property] argumentDoubleValue The argument as a double-precision floating point number; the value is undefined if the argument cannot be decoded or if this is the last component. API-Since: 15.0
      • argumentInt64Value

        public long argumentInt64Value()
        [@property] argumentInt64Value The argument as a 64-bit signed integer; the value is undefined if it cannot be decoded or if this is the last component. API-Since: 15.0
      • argumentNumberValue

        @Nullable
        public @Nullable NSNumber argumentNumberValue()
        [@property] argumentNumberValue The argument as a number. Can be nil if the argument cannot be decoded (for example, it could be redacted), or if this is the last component. API-Since: 15.0
      • argumentStringValue

        @Nullable
        public @Nullable java.lang.String argumentStringValue()
        [@property] argumentStringValue The argument as a string. Can be nil if the argument cannot be decoded (for example, it could be redacted), or if this is the last component. API-Since: 15.0
      • argumentUInt64Value

        public long argumentUInt64Value()
        [@property] argumentUInt64Value The argument as a 64-bit unsigned integer; the value is undefined if the argument cannot be decoded or if this is the last component. API-Since: 15.0
      • 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()
      • formatSubstring

        @NotNull
        public @NotNull java.lang.String formatSubstring()
        [@property] formatSubstring The text immediately preceding a placeholder. This can be an empty string if there is nothing between two placeholders, or between the placeholder and the bounds of the string. API-Since: 15.0
      • 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)
      • placeholder

        @NotNull
        public @NotNull java.lang.String placeholder()
        [@property] placeholder The placeholder text. Is empty for is the last component. API-Since: 15.0
      • 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()
      • _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
      • version_static

        public static long version_static()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.