Class SensitiveContentChannel

java.lang.Object
io.flutter.embedding.engine.systemchannels.SensitiveContentChannel

public class SensitiveContentChannel extends Object
SensitiveContentChannel is a platform channel that is used by the framework to get and set the content sensitivity of a native Flutter Android View.
  • Field Details

    • AUTO_SENSITIVE_CONTENT_SENSITIVITY

      @VisibleForTesting public static final int AUTO_SENSITIVE_CONTENT_SENSITIVITY
      Flutter ContentSensitivity.autoSensitive index that represents Android's `View.CONTENT_SENSITIVITY_AUTO` setting.

      See https://developer.android.com/reference/android/view/View#CONTENT_SENSITIVITY_AUTO.

      See Also:
    • SENSITIVE_CONTENT_SENSITIVITY

      @VisibleForTesting public static final int SENSITIVE_CONTENT_SENSITIVITY
      Flutter ContentSensitivity.sensitive index that represents Android's `View.CONTENT_SENSITIVITY_SENSITIVE` setting.

      See https://developer.android.com/reference/android/view/View#CONTENT_SENSITIVITY_SENSITIVE.

      See Also:
    • NOT_SENSITIVE_CONTENT_SENSITIVITY

      @VisibleForTesting public static final int NOT_SENSITIVE_CONTENT_SENSITIVITY
      Flutter ContentSensitivity.notSensitive index that represents Android's `View.CONTENT_SENSITIVITY_NOT_SENSITIVE` setting.

      See https://developer.android.com/reference/android/view/View#CONTENT_SENSITIVITY_NOT_SENSITIVE.

      See Also:
    • UNKNOWN_CONTENT_SENSITIVITY

      @VisibleForTesting public static final int UNKNOWN_CONTENT_SENSITIVITY
      Flutter ContentSensitivity._unknown index that represents a content sensitivity setting that the Flutter SensitiveContent widget does not recognize.
      See Also:
    • channel

      public final MethodChannel channel
    • parsingMethodHandler

      @NonNull public final MethodChannel.MethodCallHandler parsingMethodHandler
  • Constructor Details

    • SensitiveContentChannel

      public SensitiveContentChannel(@NonNull DartExecutor dartExecutor)
  • Method Details