EOS_Platform_SetApplicationStatus

EOS API reference page for EOS_Platform_SetApplicationStatus

阅读时间少于1分钟

Remarks

Notify a change in application state.

Calling SetApplicationStatus must happen before Tick when foregrounding for the cases where we won't get the background notification.

Return Value

  • An EOS_EResult that indicates whether we changed the application status successfully.

  • EOS_Success if the application was changed successfully.

  • EOS_InvalidParameters if the value of NewStatus is invalid.

Parameters

EOS_Platform_SetApplicationStatus

Parameter Type And NameUsage Information
EOS_HPlatform Handle
const EOS_EApplicationStatus NewStatusThe new status for the application.