Package io.flutter.embedding.engine.plugins.lifecycle

# 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 Summary

  Constructors
  Constructor
  Description
  `HiddenLifecycleReference(androidx.lifecycle.Lifecycle lifecycle)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `androidx.lifecycle.Lifecycle`
  `getLifecycle()`

  ### Methods inherited from class java.lang.Object

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

- ## Constructor Details

  - ### HiddenLifecycleReference

    public HiddenLifecycleReference(@NonNull androidx.lifecycle.Lifecycle lifecycle)

- ## Method Details

  - ### getLifecycle

    @NonNull public androidx.lifecycle.Lifecycle getLifecycle()