Class HiddenLifecycleReference

java.lang.Object
io.flutter.embedding.engine.plugins.lifecycle.HiddenLifecycleReference

public class HiddenLifecycleReference extends Object
An Object that can be used to obtain a Lifecycle reference.

DO NOT USE THIS CLASS IN AN APP OR A PLUGIN.

This class is used by the flutter_android_lifecycle package to provide access to a Lifecycle in a way that makes it easier for Flutter and the Flutter plugin ecosystem to handle breaking changes in Lifecycle libraries.

  • Constructor Details

    • HiddenLifecycleReference

      public HiddenLifecycleReference(@NonNull androidx.lifecycle.Lifecycle lifecycle)
  • Method Details

    • getLifecycle

      @NonNull public androidx.lifecycle.Lifecycle getLifecycle()