docs(ci): Update protocol.md - eb20654 [skip ci]

This commit is contained in:
Azure CI
2020-05-14 20:15:44 +00:00
parent eb206549ff
commit 5534f9a248
2 changed files with 62 additions and 0 deletions

View File

@ -8678,6 +8678,47 @@
"lead": "", "lead": "",
"type": "class", "type": "class",
"examples": [] "examples": []
},
{
"subheads": [],
"description": "Get the position of the current transition.",
"return": "{double} `position` current transition position. This value will be between 0.0 and 1.0. Note: Transition returns 1.0 when not active.",
"api": "requests",
"name": "GetTransitionPosition",
"category": "transitions",
"since": "4.8.0",
"returns": [
{
"type": "double",
"name": "position",
"description": "current transition position. This value will be between 0.0 and 1.0. Note: Transition returns 1.0 when not active."
}
],
"names": [
{
"name": "",
"description": "GetTransitionPosition"
}
],
"categories": [
{
"name": "",
"description": "transitions"
}
],
"sinces": [
{
"name": "",
"description": "4.8.0"
}
],
"heading": {
"level": 2,
"text": "GetTransitionPosition"
},
"lead": "",
"type": "class",
"examples": []
} }
] ]
} }

View File

@ -215,6 +215,7 @@ auth_response = base64_encode(auth_response_hash)
+ [SetCurrentTransition](#setcurrenttransition) + [SetCurrentTransition](#setcurrenttransition)
+ [SetTransitionDuration](#settransitionduration) + [SetTransitionDuration](#settransitionduration)
+ [GetTransitionDuration](#gettransitionduration) + [GetTransitionDuration](#gettransitionduration)
+ [GetTransitionPosition](#gettransitionposition)
<!-- tocstop --> <!-- tocstop -->
@ -3372,3 +3373,23 @@ _No specified parameters._
--- ---
### GetTransitionPosition
- Added in v4.8.0
Get the position of the current transition.
**Request Fields:**
_No specified parameters._
**Response Items:**
| Name | Type | Description |
| ---- | :---: | ------------|
| `position` | _double_ | current transition position. This value will be between 0.0 and 1.0. Note: Transition returns 1.0 when not active. |
---