java.lang.Object | |
↳ | com.google.android.gms.cast.framework.PrecacheManager |
The entry point of pre-cache APIs. Developers can get the instance of this class by calling
getPrecacheManager()
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Pre-caches the content that users intend to consume in order to reduce the loading time at
playback.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Pre-caches the content that users intend to consume in order to reduce the loading time at playback. If using this API, devlopers must implement their own precache logic on the receiver side by implementing an onPrecache() method.
For how to handle the data received in the receiver app, please see https://developers.google.com/cast/docs/reference/receiver/cast.receiver.MediaManager#onPrecache
Parameters | |
---|---|
data |
String : A String that will be sent to the receiver app to specify which content
should be pre-cached.
|