SYSGetVodArgs

Syntax

#include <cafe/sysapp.h>

s32 SYSGetVodArgs( SysVodArgs *p_Args );

Parameters

p_Args If the function returns SYS_ERROR_NONE this argument will be populated with the URL to launch.

Return Values

SYS_ERROR_NO_ARGS There are no arguments.
SYS_ERROR_NONE The function completed successfully.
SYS_ERROR_FATAL A critical error occurred.

Description

SYSGetVodArgs gets VOD application arguments after starting the application or returning from the HOME Menu. When starting a VOD application, arguments are cleared if the HOME Menu is opened or closed before the application obtains the arguments. As a workaround, you may temporarily disable HOME Menu.

NOTE:
To avoid undefined system behavior, DO NOT call SYSGetVodArgs after calling one of the SYSLaunch* or SYSSwitchTo* functions.

Background

When jumping from vino to Amazon Instant Video, you are transitioned to the TV program or movie page that is displayed in vino. However, if you open or close the HOME Menu while transitioning to the Amazon Instant Video and reading, the TOP page may be displayed instead of the corresponding page. This is because arguments are cleared if the HOME Menu is closed or opened before the VOD application obtains the arguments.

Do Not Call From

Background Do not call this function from the background.
Multiple threads This function is not thread-safe.

Revision History

2013/05/08 Automated cleanup pass.
2012/10/01 Updated documentation.
2012/08/15 Initial version.


CONFIDENTIAL