Class SDL_PowerState

  • All Implemented Interfaces:
    JnaEnum

    public final class SDL_PowerState
    extends Object
    implements JnaEnum
    The basic state for the system's power supply.
    • Field Detail

      • SDL_POWERSTATE_UNKNOWN

        public static final int SDL_POWERSTATE_UNKNOWN
        cannot determine power status
        See Also:
        Constant Field Values
      • SDL_POWERSTATE_ON_BATTERY

        public static final int SDL_POWERSTATE_ON_BATTERY
        Not plugged in, running on the battery
        See Also:
        Constant Field Values
      • SDL_POWERSTATE_NO_BATTERY

        public static final int SDL_POWERSTATE_NO_BATTERY
        Plugged in, no battery available
        See Also:
        Constant Field Values
      • SDL_POWERSTATE_CHARGING

        public static final int SDL_POWERSTATE_CHARGING
        Plugged in, charging battery
        See Also:
        Constant Field Values
      • SDL_POWERSTATE_CHARGE

        public static final int SDL_POWERSTATE_CHARGE
        Plugged in, battery charged
        See Also:
        Constant Field Values