using System.Collections.Generic;
public class Analytics
{
public List<string> ReadLogs()
// Assume already implemented
return new List<string>();
}
public int GetUpgradePercentage()
// TODO
return 0;
/*
Events:
<timestamp-seconds>,<user-id>,<event-type-char>
Example:
123,7,M
Event types:
I - Install app
U - Upgrade to premium (in-app payment)
O - Open / resume app
L - Leave app
M - Navigate to main screen
S - Navigate to settings screen
*/