Class CXPlatformAvailability

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class CXPlatformAvailability
    extends Struct
    implements NativeResource
    Describes the availability of a given entity on a particular platform, e.g., a particular class might only be available on Mac OS 10.7 or newer.

    Member documentation

    • Platform – a string that describes the platform for which this structure provides availability information.

      Possible values are "ios" or "macos".

    • Introduced – the version number in which this entity was introduced
    • Deprecated – the version number in which this entity was deprecated (but is still available)
    • Obsoleted – the version number in which this entity was obsoleted, and therefore is no longer available
    • Unavailable – whether the entity is unconditionally unavailable on this platform
    • Message – an optional message to provide to a user of this API, e.g., to suggest replacement APIs


     struct CXPlatformAvailability {
         CXString Platform;
         CXVersion Introduced;
         CXVersion Deprecated;
         CXVersion Obsoleted;
         int Unavailable;
         CXString Message;