Metadata
Metadata
With Metadata you can send any kind of Data to your mobile applications
Number, String, text, json ...
Create a Metadata on your application
Go to your application listing, and click on the Metadata Tab, and click on +
The key must be a unique key for the current application.
The value can take any kind of data, in case you want to save a huge data amount and avoid the slowdown of the app on running, please choose the 'Remote ask' option.
Use the Metadata in your android application
Just call :
GooConsole.getMetadata("MY_METADATA_NAME");
Methods :
public static String getMetadata(String key)
public static String getMetadata(String key, String defaultValue)
public static long getMetadata(String key, long defaultValue)
By default, if we can't get a data for the key, you will get un empty String or 0 (long)