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 and Description
    `HiddenLifecycleReference(androidx.lifecycle.Lifecycle lifecycle)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `androidx.lifecycle.Lifecycle` | `getLifecycle()`

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

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

- - ### Constructor Detail

    - #### HiddenLifecycleReference

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

  - ### Method Detail

    - #### getLifecycle

          @NonNull
          public androidx.lifecycle.Lifecycle getLifecycle()