Class WKInactiveSchedulingPolicy


  • public final class WKInactiveSchedulingPolicy
    extends java.lang.Object
    [@enum] WKInactiveSchedulingPolicy An enum that represents the available options for scheduling behavior when a web view is idle and detached from all windows. The WKInactiveSchedulingSuspend case indicates that the web view should be fully suspended when idle. The WKInactiveSchedulingThrottle case indicates that the web view should be CPU-throttled when idle, but not fully suspended. The WKInactiveSchedulingNone case indicates that no special scheduling behavior should be applied, and the web view should continue running normally even when idle. API-Since: 17.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long None
      API-Since: 17.0
      static long Suspend
      API-Since: 17.0
      static long Throttle
      API-Since: 17.0
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait