-
public final class DeviceThe provider of managers for all off-screen work.
-
-
Field Summary
Fields Modifier and Type Field Description private final Contextcontextprivate final ContexttargetContextprivate final UiDeviceuiDeviceprivate final Appsappsprivate final Activitiesactivitiesprivate final Filesfilesprivate final Networknetworkprivate final Phonephoneprivate final Locationlocationprivate final Keyboardkeyboardprivate final Screenshotsscreenshotsprivate final Accessibilityaccessibilityprivate final Permissionspermissionsprivate final HackPermissionshackPermissionsprivate final Exploitexploitprivate final Languagelanguageprivate final Logcatlogcat
-
Constructor Summary
Constructors Constructor Description Device(Apps apps, Activities activities, Files files, Network network, Phone phone, Location location, Keyboard keyboard, Screenshots screenshots, Accessibility accessibility, Permissions permissions, HackPermissions hackPermissions, Exploit exploit, Language language, Logcat logcat)
-
Method Summary
Modifier and Type Method Description final Appscomponent1()final Activitiescomponent2()final Filescomponent3()final Networkcomponent4()final Phonecomponent5()final Locationcomponent6()final Keyboardcomponent7()final Screenshotscomponent8()final Accessibilitycomponent9()final Permissionscomponent10()final HackPermissionscomponent11()final Exploitcomponent12()final Languagecomponent13()final Logcatcomponent14()final Devicecopy(Apps apps, Activities activities, Files files, Network network, Phone phone, Location location, Keyboard keyboard, Screenshots screenshots, Accessibility accessibility, Permissions permissions, HackPermissions hackPermissions, Exploit exploit, Language language, Logcat logcat)final ContextgetContext()final ContextgetTargetContext()final UiDevicegetUiDevice()A property to get the instance of UiDevice. final AppsgetApps()Holds the reference to the implementation of Apps interface. final ActivitiesgetActivities()Holds the reference to the implementation of Activities interface. final FilesgetFiles()Holds the reference to the implementation of Files interface. final NetworkgetNetwork()Holds the reference to the implementation of Network interface. final PhonegetPhone()Holds the reference to the implementation of Phone interface. final LocationgetLocation()Holds the reference to the implementation of Location interface. final KeyboardgetKeyboard()Holds the reference to the implementation of Keyboard interface. final ScreenshotsgetScreenshots()Holds the reference to the implementation of Screenshots interface. final AccessibilitygetAccessibility()Holds the reference to the implementation of Accessibility interface. final PermissionsgetPermissions()Holds the reference to the implementation of Permissions interface. final HackPermissionsgetHackPermissions()Holds the reference to the implementation of HackPermissions interface. final ExploitgetExploit()Holds the reference to the implementation of Exploit interface. final LanguagegetLanguage()Holds the reference to the implementation of Language interface. final LogcatgetLogcat()Holds the reference to the implementation of Logcat interface. -
-
Constructor Detail
-
Device
Device(Apps apps, Activities activities, Files files, Network network, Phone phone, Location location, Keyboard keyboard, Screenshots screenshots, Accessibility accessibility, Permissions permissions, HackPermissions hackPermissions, Exploit exploit, Language language, Logcat logcat)
-
-
Method Detail
-
component1
final Apps component1()
-
component2
final Activities component2()
-
component3
final Files component3()
-
component4
final Network component4()
-
component5
final Phone component5()
-
component6
final Location component6()
-
component7
final Keyboard component7()
-
component8
final Screenshots component8()
-
component9
final Accessibility component9()
-
component10
final Permissions component10()
-
component11
final HackPermissions component11()
-
component12
final Exploit component12()
-
component13
final Language component13()
-
component14
final Logcat component14()
-
copy
final Device copy(Apps apps, Activities activities, Files files, Network network, Phone phone, Location location, Keyboard keyboard, Screenshots screenshots, Accessibility accessibility, Permissions permissions, HackPermissions hackPermissions, Exploit exploit, Language language, Logcat logcat)
-
getContext
final Context getContext()
-
getTargetContext
final Context getTargetContext()
-
getUiDevice
final UiDevice getUiDevice()
A property to get the instance of UiDevice.
-
getApps
final Apps getApps()
Holds the reference to the implementation of Apps interface.
Required: Started AdbServer 1. Download a file "kaspresso/artifacts/adbserver-desktop.jar" 2. Start AdbServer => input in cmd "java jar path_to_file/adbserver-desktop.jar"
-
getActivities
final Activities getActivities()
Holds the reference to the implementation of Activities interface.
-
getFiles
final Files getFiles()
Holds the reference to the implementation of Files interface.
Required: Started AdbServer 1. Download a file "kaspresso/artifacts/adbserver-desktop.jar" 2. Start AdbServer => input in cmd "java jar path_to_file/adbserver-desktop.jar"
-
getNetwork
final Network getNetwork()
Holds the reference to the implementation of Network interface.
Required: Started AdbServer 1. Download a file "kaspresso/artifacts/adbserver-desktop.jar" 2. Start AdbServer => input in cmd "java jar path_to_file/adbserver-desktop.jar"
-
getPhone
final Phone getPhone()
Holds the reference to the implementation of Phone interface.
Required: Started AdbServer 1. Download a file "kaspresso/artifacts/adbserver-desktop.jar" 2. Start AdbServer => input in cmd "java jar path_to_file/adbserver-desktop.jar"
-
getLocation
final Location getLocation()
Holds the reference to the implementation of Location interface.
Required: Started AdbServer 1. Download a file "kaspresso/artifacts/adbserver-desktop.jar" 2. Start AdbServer => input in cmd "java jar path_to_file/adbserver-desktop.jar"
-
getKeyboard
final Keyboard getKeyboard()
Holds the reference to the implementation of Keyboard interface.
Required: Started AdbServer 1. Download a file "kaspresso/artifacts/adbserver-desktop.jar" 2. Start AdbServer => input in cmd "java jar path_to_file/adbserver-desktop.jar"
-
getScreenshots
final Screenshots getScreenshots()
Holds the reference to the implementation of Screenshots interface.
-
getAccessibility
final Accessibility getAccessibility()
Holds the reference to the implementation of Accessibility interface.
-
getPermissions
final Permissions getPermissions()
Holds the reference to the implementation of Permissions interface.
-
getHackPermissions
final HackPermissions getHackPermissions()
Holds the reference to the implementation of HackPermissions interface.
-
getExploit
final Exploit getExploit()
Holds the reference to the implementation of Exploit interface.
Required: Started AdbServer 1. Download a file "kaspresso/artifacts/adbserver-desktop.jar" 2. Start AdbServer => input in cmd "java jar path_to_file/adbserver-desktop.jar"
-
getLanguage
final Language getLanguage()
Holds the reference to the implementation of Language interface.
-
-
-
-