版本

menu_open
Wwise SDK 2018.1.11
ak.wwise.core.transport.getState


Gets the state of the given transport object.

Supported by

Graphical User Interface.

Arguments

Name Type Description
transport * integer Transport object ID to be used with all other ak.wwise.core.transport functions.

(Required *)

Arguments Details


transport

description : Transport object ID to be used with all other ak.wwise.core.transport functions.
type : integer
minimum : 0
maximum : 4294967295


Result

Name Type Description
state * string The state of the transport object.
Possible values : "playing", "stopped", "paused"

(Required *)

Result Details


state

type : string
description : The state of the transport object.
Possible values : "playing", "stopped", "paused"


Examples :

Get a transport object's state.

Gets the state of the given transport object.

Arguments:

{
"transport": 1234
}

Result:

{
"state": "playing"
}


Detailed JSON Schema


Arguments :

{
"type": "object",
"properties": {
"transport": {
"description": "Transport object ID to be used with all other ak.wwise.core.transport functions.",
"type": "integer",
"minimum": 0,
"maximum": 4294967295
}
},
"required": [
"transport"
],
"additionalProperties": false
}


Options :

{
"type": "object",
"properties": {},
"additionalProperties": false
}


Response :

{
"type": "object",
"properties": {
"state": {
"type": "string",
"description": "The state of the transport object.",
"enum": [
"playing",
"stopped",
"paused"
]
}
},
"required": [
"state"
],
"additionalProperties": false
}

Document version : 1


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅