Interface CDDCDataFeeder
public interface CDDCDataFeeder
The
CDDCDataFeeder
allows to set CDDC data values.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
rooting probability max value when usingsetRootingProbability(int)
static final int
rooting probability min value when usingsetRootingProbability(int)
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
setApplicationReleaseDate
(long applicationReleaseDate) Sets the value for the release date of the application (publication date).void
setApplicationRepackaged
(boolean applicationRepackaged) Deprecated.void
setDebuggerAttached
(boolean debuggerAttached) Deprecated.void
setDeviceRooted
(boolean deviceRooted) Sets the value for device rooted.void
setHookingFrameworks
(boolean hookingFrameworks) Sets the value for the hooking frameworks status.void
setLibraryInjectionDetected
(boolean libraryInjectionDetected) Sets the value for library injection detected status.void
setNativeCodeHooks
(boolean nativeCodeHooks) Deprecated.void
setRaspProtected
(boolean raspProtected) Sets the value for the RASP protection statusvoid
setRootingProbability
(int rootingProbability) Sets the value in percent for the probability of the device to be rooted, using heuristics.void
setScreenshotDetected
(boolean screenshotDetected) Sets the value for the screenshot detected status.void
setUntrustedKeyboard
(boolean untrustedKeyboard) Sets the value for the untrusted keyboard status.void
setUntrustedScreenReaders
(boolean screenReader) Sets the value for the untrusted screen reader status.
-
Field Details
-
ROOTING_PROBABILITY_MIN_VALUE
static final int ROOTING_PROBABILITY_MIN_VALUErooting probability min value when usingsetRootingProbability(int)
.- See Also:
-
ROOTING_PROBABILITY_MAX_VALUE
static final int ROOTING_PROBABILITY_MAX_VALUErooting probability max value when usingsetRootingProbability(int)
- See Also:
-
-
Method Details
-
setApplicationReleaseDate
void setApplicationReleaseDate(long applicationReleaseDate) Sets the value for the release date of the application (publication date).- Parameters:
applicationReleaseDate
- Release date of the application (publication date) in milliseconds since epoch.- Throws:
IllegalArgumentException
- If the parameter is not within bounds.
-
setDeviceRooted
void setDeviceRooted(boolean deviceRooted) Sets the value for device rooted.- Parameters:
deviceRooted
- Indicates if the device is rooted or jailbroken.
-
setRaspProtected
void setRaspProtected(boolean raspProtected) Sets the value for the RASP protection status- Parameters:
raspProtected
- Indicates if the application is rasp protected.
-
setUntrustedKeyboard
void setUntrustedKeyboard(boolean untrustedKeyboard) Sets the value for the untrusted keyboard status.- Parameters:
untrustedKeyboard
- Indicates if the application has an untrusted keyboard.
-
setUntrustedScreenReaders
void setUntrustedScreenReaders(boolean screenReader) Sets the value for the untrusted screen reader status.- Parameters:
screenReader
- Indicates if the application is has an untrusted screen reader.
-
setHookingFrameworks
void setHookingFrameworks(boolean hookingFrameworks) Sets the value for the hooking frameworks status.- Parameters:
hookingFrameworks
- Indicates if the application has hooking frameworks.
-
setNativeCodeHooks
Deprecated.Sets the value for the native code hooks status.- Parameters:
nativeCodeHooks
- Indicates if the application has native code hooks.
-
setDebuggerAttached
Deprecated.Sets the value for the attached debugger status.- Parameters:
debuggerAttached
- Indicates if the application has an attached debugger.
-
setApplicationRepackaged
Deprecated.Sets the value for the repackaging status.- Parameters:
applicationRepackaged
- Indicates if the application has been repackaged.
-
setScreenshotDetected
void setScreenshotDetected(boolean screenshotDetected) Sets the value for the screenshot detected status.- Parameters:
screenshotDetected
- Indicates if a screenshot of the application has been taken.
-
setLibraryInjectionDetected
void setLibraryInjectionDetected(boolean libraryInjectionDetected) Sets the value for library injection detected status.- Parameters:
libraryInjectionDetected
- Indicates if an untrusted library has tried to be injected into the application during runtime.
-
setRootingProbability
void setRootingProbability(int rootingProbability) Sets the value in percent for the probability of the device to be rooted, using heuristics. A value ofROOTING_PROBABILITY_MIN_VALUE
indicates that the device is most likely not rooted while a value ofROOTING_PROBABILITY_MAX_VALUE
indicates that the device is most likely rooted.- Parameters:
rootingProbability
- Probability of the device to be rooted. Integer betweenROOTING_PROBABILITY_MIN_VALUE
andROOTING_PROBABILITY_MAX_VALUE
.- Throws:
IllegalArgumentException
- If the parameter is not within bounds.
-