Sha256: edc8d44146b225e9384f94d38f862b4e004732c46029c0f75f26148047cd2509
Contents?: true
Size: 560 Bytes
Versions: 11
Compression:
Stored size: 560 Bytes
Contents
package com.amplify.honeydew_server.actions; import android.os.RemoteException; import com.amplify.honeydew_server.*; import com.android.uiautomator.core.*; import java.util.Map; public class Sleep extends Action { public Sleep(UiDevice uiDevice) { super(uiDevice); } @Override public Result execute(Map<String, Object> arguments) throws UiObjectNotFoundException { try { getUiDevice().sleep(); } catch (RemoteException e) { return Result.FAILURE; } return Result.OK; } }
Version data entries
11 entries across 11 versions & 1 rubygems