public interface SupportsSpecialEmulatorCommands extends ExecutesMethod
Modifier and Type | Method and Description |
---|---|
default void |
makeGsmCall(java.lang.String phoneNumber,
GsmCallActions gsmCallActions)
Emulate GSM call event on the connected emulator.
|
default void |
sendSMS(java.lang.String phoneNumber,
java.lang.String message)
Emulate send SMS event on the connected emulator.
|
default void |
setGsmSignalStrength(GsmSignalStrength gsmSignalStrength)
Emulate GSM signal strength change event on the connected emulator.
|
default void |
setGsmVoice(GsmVoiceState gsmVoiceState)
Emulate GSM voice event on the connected emulator.
|
default void |
setNetworkSpeed(NetworkSpeed networkSpeed)
Emulate network speed change event on the connected emulator.
|
default void |
setPowerAC(PowerACState powerACState)
Emulate power state change on the connected emulator.
|
default void |
setPowerCapacity(int percent)
Emulate power capacity change on the connected emulator.
|
execute, execute
default void sendSMS(java.lang.String phoneNumber, java.lang.String message)
phoneNumber
- The phone number of message sender.message
- The message content.default void makeGsmCall(java.lang.String phoneNumber, GsmCallActions gsmCallActions)
phoneNumber
- The phone number of the caller.gsmCallActions
- One of available GsmCallActions
values.default void setGsmSignalStrength(GsmSignalStrength gsmSignalStrength)
gsmSignalStrength
- One of available GsmSignalStrength
values.default void setGsmVoice(GsmVoiceState gsmVoiceState)
gsmVoiceState
- One of available GsmVoiceState
values.default void setNetworkSpeed(NetworkSpeed networkSpeed)
networkSpeed
- One of available NetworkSpeed
values.default void setPowerCapacity(int percent)
percent
- Percentage value in range [0, 100].default void setPowerAC(PowerACState powerACState)
powerACState
- One of available PowerACState
values.