October 2018
Intermediate to advanced
464 pages
15h 17m
English
Before we call the BlockedNumberContract APIs, we check to make sure we have permission by calling canCurrentUserBlockNumbers(), as shown in this code:
if (BlockedNumberContract.canCurrentUserBlockNumbers(this)) {
If true, we make the actual API call.
Adding and deleting numbers from the BlockedNumber list uses the standard Service Provider format.
The Update method is not supported; use the Add and Delete methods instead.
To check whether a number is already in the block list, call the isBlocked() method, passing in ...