-
public interface MetadataLoaderInterface for clients to specify a customized phone metadata loader, useful for Android apps to load Android resources since the library loads Java resources by default, e.g. with AssetManager. Note that implementation owners have the responsibility to ensure this is thread-safe.
-
-
Method Summary
Modifier and Type Method Description abstract InputStreamloadMetadata(String metadataFileName)Returns an input stream corresponding to the metadata to load. -
-
Method Detail
-
loadMetadata
abstract InputStream loadMetadata(String metadataFileName)
Returns an input stream corresponding to the metadata to load. This method may be calledconcurrently so implementations must be thread-safe.
- Parameters:
metadataFileName- file name (including path) of metadata to load.
-
-
-
-