java.lang.Object
java.lang.Enum<ServiceName>
org.openqa.selenium.devtools.v85.backgroundservice.model.ServiceName
All Implemented Interfaces:
Serializable, Comparable<ServiceName>, Constable

public enum ServiceName extends Enum<ServiceName>
The Background Service that will be associated with the commands/events. Every Background Service operates independently, but they share the same API.
  • Enum Constant Details

    • BACKGROUNDFETCH

      public static final ServiceName BACKGROUNDFETCH
    • BACKGROUNDSYNC

      public static final ServiceName BACKGROUNDSYNC
    • PUSHMESSAGING

      public static final ServiceName PUSHMESSAGING
    • NOTIFICATIONS

      public static final ServiceName NOTIFICATIONS
    • PAYMENTHANDLER

      public static final ServiceName PAYMENTHANDLER
    • PERIODICBACKGROUNDSYNC

      public static final ServiceName PERIODICBACKGROUNDSYNC
  • Method Details

    • values

      public static ServiceName[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ServiceName valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • fromString

      public static ServiceName fromString(String s)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ServiceName>
    • toJson

      public String toJson()