Class AIFeaturesController.AIFeature

Object
org.mozilla.geckoview.AIFeaturesController.AIFeature
Enclosing class:
AIFeaturesController

public static class AIFeaturesController.AIFeature extends Object
Represents an AI feature.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final String
    The feature id of the feature.
    final boolean
    Whether the feature is possible to use.
    final boolean
    Whether the feature is blocked from being used.
    final boolean
    Whether the feature is enabled to use.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    For testing purposes only.
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • id

      @NonNull public final String id
      The feature id of the feature.
    • isEnabled

      public final boolean isEnabled
      Whether the feature is enabled to use.
    • isAllowed

      public final boolean isAllowed
      Whether the feature is possible to use.
    • isBlocked

      public final boolean isBlocked
      Whether the feature is blocked from being used.
  • Constructor Details

    • AIFeature

      @VisibleForTesting protected AIFeature()
      For testing purposes only.
  • Method Details