From: Hosang Kim Date: Fri, 12 May 2023 06:23:10 +0000 (+0900) Subject: docs: update aurum.proto for tutorial guide X-Git-Tag: accepted/tizen/unified/20230613.170814~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2b2e4d2282138e94d2b1969a899a144426a5d790;p=platform%2Fcore%2Fuifw%2Faurum.git docs: update aurum.proto for tutorial guide Change-Id: Idcc0825ba9feb6d62a4d75e2560ae042b4db5da3 --- diff --git a/docs/protocol/aurum.proto b/docs/protocol/aurum.proto index 9e4a42a..d929d4d 100644 --- a/docs/protocol/aurum.proto +++ b/docs/protocol/aurum.proto @@ -37,6 +37,8 @@ service Bootstrap { rpc enableScreenAnalyzer(ReqEnableScreenAnalyzer) returns (RspEnableScreenAnalyzer) {} rpc getTextMinBoundingRect(ReqGetTextMinBoundingRect) returns (RspGetTextMinBoundingRect) {} rpc setTimeout(ReqSetTimeout) returns (RspSetTimeout) {} + rpc setXMLSync(ReqSetXMLSync) returns (RspSetXMLSync) {} + rpc getAngle(ReqGetAngle) returns (RspGetAngle) {} } // ------------------------------------ // @@ -90,6 +92,9 @@ message Element { double maxValue = 28; double value = 29; double increment = 30; + + int32 windowAngle = 31; + int32 targetAngle = 32; } message Point { @@ -549,6 +554,7 @@ message RspKey{ } message ReqTakeScreenshot{ + bool getPixels = 1; } message RspTakeScreenshot{ bytes image = 1; @@ -589,7 +595,10 @@ message ReqActionAndWaitEvent { enum EventType { EVENT_WINDOW_ACTIVATE = 0; EVENT_WINDOW_DEACTIVATE = 1; - EVENT_STATE_CHANGED_FOCUSED = 2; + EVENT_WINDOW_MINIMIZE = 2; + EVENT_WINDOW_RAISE = 3; + EVENT_WINDOW_IDLE = 4; + EVENT_STATE_CHANGED_FOCUSED = 5; } ActionType type = 1; oneof params { @@ -599,6 +608,7 @@ message ReqActionAndWaitEvent { EventType eventType = 4; int32 timeoutMs = 5; string packageName = 6; + int32 count = 7; } message RspActionAndWaitEvent { @@ -646,3 +656,20 @@ message ReqSetTimeout { message RspSetTimeout { RspStatus status = 1; } + +message ReqSetXMLSync { + bool enable = 1; +} + +message RspSetXMLSync { + RspStatus status = 1; +} + +message ReqGetAngle { +} + +message RspGetAngle { + RspStatus status = 1; + int32 windowAngle = 2; + int32 targetAngle = 3; +}