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 staticCREATOR
field ofBundleable
classes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
fromBundle(Bundle bundle)
-
-
-
Method Detail
-
fromBundle
T fromBundle(Bundle bundle)
Restores aBundleable
instance from aBundle
produced byBundleable.toBundle()
.It guarantees the compatibility of
Bundle
representations produced by different versions ofBundleable.toBundle()
by providing best default values for missing fields. It throws an exception if any essential fields are missing.
-
-