Version

menu_open
Wwise SDK 2018.1.11
ak.wwise.ui.project.close


Closes the current project.

Supported by

Graphical User Interface.

Arguments

Name Type Description
bypassSave boolean Indicate if the user should not be prompted to save the currently opened project.

Arguments Details


bypassSave

type : boolean
description : Indicate if the user should not be prompted to save the currently opened project.


Result

Name Type Description
hadProjectOpen boolean True if there was a project open, false otherwise. Note that if there was no project open, no ak.wwise.core.project.preClosed or ak.wwise.core.project.postClosed event will be issued.

Result Details


hadProjectOpen

type : boolean
description : True if there was a project open, false otherwise. Note that if there was no project open, no ak.wwise.core.project.preClosed or ak.wwise.core.project.postClosed event will be issued.


Examples :

Closing the current project

Closes the currently opened project.

Arguments:

{}

Result:

{}


Detailed JSON Schema


Arguments :

{
"type": "object",
"properties": {
"bypassSave": {
"type": "boolean",
"description": "Indicate if the user should not be prompted to save the currently opened project."
}
},
"additionalProperties": false
}


Options :

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


Response :

{
"type": "object",
"properties": {
"hadProjectOpen": {
"type": "boolean",
"description": "True if there was a project open, false otherwise. Note that if there was no project open, no ak.wwise.core.project.preClosed or ak.wwise.core.project.postClosed event will be issued."
}
},
"additionalProperties": false
}

Document version : 1


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise