PlatformHelperRecentCalls
Util class to add and remove recent calls in Android ContactsProvider using a contentResolver. Each recent calls is added to the specified Account.
Account.name and the Account.type can be used to simulate different source of recent calls like for example different Bluetooth devices. If account is null
the recent calls will be added to the phone storage account.
Requires permission android.permission.WRITE_CALL_LOG
Constructors
Types
Functions
Add a single call with a name. Each TypedCall is a pair value (phone number, call type) with a none blank phone number.
Delete all the recent calls added by this PlatformHelperRecentCalls with the corresponding Account.name and Account.type from ContactsProvider.
Generate a call with random call time between minimumTime, maximumTime time.
Retrieve the recent calls entries from the database.