-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4df270d
commit 7021793
Showing
12 changed files
with
265 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,34 @@ | ||
/** Active call detection data. */ | ||
interface ActiveCallDetection { | ||
/** State of ongoing call. */ | ||
readonly callState: CallState; | ||
} | ||
|
||
/** State of ongoing call. */ | ||
enum CallState { | ||
/** Idle state: not ringing and no call established. */ | ||
IDLE = "IDLE", | ||
/** Device is ringing. An incoming is being signaled. */ | ||
RINGING = "RINGING", | ||
/** In call. A telephony call is established. */ | ||
ACTIVE_CALL = "ACTIVE_CALL", | ||
/** In communication. An audio/video chat or VoIP call is established. */ | ||
ACTIVE_COMMUNNICATION = "ACTIVE_COMMUNNICATION", | ||
/** | ||
* Call screening in progress. | ||
* Call is connected and audio is accessible to call screening applications | ||
* but other audio use cases are still possible. | ||
*/ | ||
CALL_SCREENING = "CALL_SCREENING", | ||
/** | ||
* A telephony call is established and its audio is being redirected to another device. | ||
*/ | ||
ACTIVE_CALL_REDIRECT = "ACTIVE_CALL_REDIRECT", | ||
/** | ||
* An audio/video chat or VoIP call is established | ||
* and its audio is being redirected to another device. | ||
*/ | ||
ACTIVE_COMMUNICATION_REDIRECT = "ACTIVE_COMMUNICATION_REDIRECT", | ||
/** Unknown state. */ | ||
UNKNOWN = "UNKNOWN" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,35 @@ | ||
/** Biometry config detection data. */ | ||
interface BiometryDetection { | ||
/** Status of the biometry config on the device. */ | ||
readonly biometricStatus: BiometricStatus; | ||
/** | ||
* Status of the biometry config on the device, raw value obtained | ||
* from 'androidx.biometric.BiometricManager'. | ||
*/ | ||
readonly androidxLibStatus: number; | ||
} | ||
|
||
enum BiometricStatus { | ||
/** | ||
* Corresponds to 'androidx.biometric.BiometricManager.BIOMETRIC_SUCCESS'. | ||
*/ | ||
CONFIGURED = "CONFIGURED", | ||
/** | ||
* Corresponds to 'androidx.biometric.BiometricManager.BIOMETRIC_STATUS_UNKNOWN'. | ||
*/ | ||
UNKNOWN = "UNKNOWN", | ||
/** | ||
* Corresponds to either 'androidx.biometric.BiometricManager.BIOMETRIC_ERROR_UNSUPPORTED' | ||
* or 'androidx.biometric.BiometricManager.BIOMETRIC_ERROR_NO_HARDWARE'. | ||
*/ | ||
UNSUPPORTED = "UNSUPPORTED", | ||
/** | ||
* Corresponds to either 'androidx.biometric.BiometricManager.BIOMETRIC_ERROR_HW_UNAVAILABLE' | ||
* or 'androidx.biometric.BiometricManager.BIOMETRIC_ERROR_SECURITY_UPDATE_REQUIRED'. | ||
*/ | ||
CURRENTLY_UNAVAILABLE = "CURRENTLY_UNAVAILABLE", | ||
/** | ||
* Corresponds to 'androidx.biometric.BiometricManager.BIOMETRIC_ERROR_NONE_ENROLLED'. | ||
*/ | ||
NONE_ENROLLED = "NONE_ENROLLED" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
|
||
/** Result type of repackaging detection. */ | ||
enum RepackagingResult { | ||
/** The app is repackaged. */ | ||
REPACKAGED_APP = "REPACKAGED_APP", | ||
/** The app is original, unaltered. */ | ||
ORIGINAL_APP = "ORIGINAL_APP", | ||
/** | ||
* Invalid configuration of repackaging detection. | ||
* Repackaging can't be determined. | ||
*/ | ||
INVALID_CONFIG = "INVALID_CONFIG" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
|
||
/** Tapjacking detection data. */ | ||
interface TapjackingDetection { | ||
/** Whether the SDK is currently blocking tapjacking. */ | ||
readonly isTapjackingBlocked: boolean; | ||
/** | ||
* List of "bad" apps capable of performing tapjacking. | ||
* A bad app is one that has a treat index same or higher | ||
* than @see MalwarelyticsAndroidTapjackingBlockConfig.blockTapjackingSensitivity. | ||
*/ | ||
readonly tapjackingCapableApps: [string]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.