Package com.google.android.exoplayer2
Interface Bundleable.Creator<T extends Bundleable>
-
- Enclosing interface:
- Bundleable
public static interface Bundleable.Creator<T extends Bundleable>Interface for the staticCREATORfield ofBundleableclasses.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TfromBundle(Bundle bundle)
-
-
-
Method Detail
-
fromBundle
T fromBundle(Bundle bundle)
Restores aBundleableinstance from aBundleproduced byBundleable.toBundle().It guarantees the compatibility of
Bundlerepresentations produced by different versions ofBundleable.toBundle()by providing best default values for missing fields. It throws an exception if any essential fields are missing.
-
-