Package com.my.target.common
Class MyTargetUtils
-
- All Implemented Interfaces:
public class MyTargetUtils
-
-
Method Summary
Modifier and Type Method Description static Map<String, String>collectInfo(@NonNull() Context context)Synchronously collects information about device and returns it in key-value map. static voidsendStat(@NonNull() String url, @NonNull() Context context)Does web request for url asynchronously, used for manual ad statistics sending -
-
Method Detail
-
collectInfo
@NonNull()@WorkerThread() static Map<String, String> collectInfo(@NonNull() Context context)
Synchronously collects information about device and returns it in key-value map. Must not be called from UI-Thread
- Parameters:
context- app context- Returns:
key-value map of device information
-
-
-
-