public final class DeskPhonePlatformUtils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_MAC_ADDRESS |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getDeviceMacAddress()
Returns the ethernet mac address of the device.
|
static boolean |
isActiveSDKPhoneApp()
Returns if executing app is running as active sdk phone app on platform.
|
static boolean |
isActiveSDKPhoneAppOnDeskPhone()
Returns if executing app is running as active sdk phone app on desk phone platform.
|
static boolean |
isCameraAvailable(android.content.Context context)
Returns if desk phone platform has camera support available
|
static boolean |
isCameraAvailable(android.content.pm.PackageManager packageManager) |
static boolean |
isDeskPhoneModel()
Utility method to determine if the application on top of DeskphoneServices is
running on a Vantage phone.
|
static boolean |
isSpacesCallStatusActive() |
static boolean |
isVantagePlatform2()
Utility method to determine if the application on top of DeskphoneServices is
running on a Vantage 2.x phone.
|
static boolean |
isVantagePlatform3()
Utility method to determine if the application on top of DeskphoneServices is
running on a Vantage 3.x phone.
|
public static final java.lang.String DEFAULT_MAC_ADDRESS
public static boolean isDeskPhoneModel()
true If the application is running on a Vantage Deskphone, otherwise falsepublic static boolean isVantagePlatform2()
true If the application is running on a Vantage 2.x Deskphone, otherwise falsepublic static boolean isVantagePlatform3()
true If the application is running on a Vantage DeskPhone, otherwise falsepublic static boolean isActiveSDKPhoneApp()
public static boolean isSpacesCallStatusActive()
public static boolean isActiveSDKPhoneAppOnDeskPhone()
public static boolean isCameraAvailable(@NonNull
android.content.Context context)
context - Android application contextpublic static boolean isCameraAvailable(@NonNull
android.content.pm.PackageManager packageManager)
@NonNull public static java.lang.String getDeviceMacAddress()