public class PhoneCompatibilityManager extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PhoneCompatibilityManager.NfcStatus
The status of the NFC adapter
|
Constructor and Description |
---|
PhoneCompatibilityManager() |
Modifier and Type | Method and Description |
---|---|
static PhoneCompatibilityManager.NfcStatus |
checkNfcStatus(Context context)
Check the NFC status
|
static boolean |
checkPhoneCompatibility(Context context)
Check the phone model against a list of accepted models(found in the assets)
|
static boolean |
checkPhoneQACompatibility(Context context)
Check the phone model against a list of accepted QA models(found in the assets)
|
static boolean |
checkZoomConsistency(Context context)
Check the phone model against a list of accepted models(found in the assets)
|
static boolean |
isAuthSupported(Context context)
Check the authentication compatibility of the phone
|
static boolean |
isLocationSupported(Context context)
Check the location.
|
public static boolean isAuthSupported(Context context)
context
- the app contextpublic static PhoneCompatibilityManager.NfcStatus checkNfcStatus(Context context)
context
- the app contextpublic static boolean isLocationSupported(Context context)
context
- the app contextpublic static boolean checkPhoneCompatibility(Context context)
context
- a contextpublic static boolean checkZoomConsistency(Context context)
context
- a contextpublic static boolean checkPhoneQACompatibility(Context context)
context
- a context