nn::news::CTR::user::IsFromNewsList Function

Syntax

bool IsFromNewsList(
     JumpArg * jumpArg
);

Parameters

Name Description
in jumpArg Pointer to the buffer that stores the posted notification information.

Return Values

Returns true if started from Notifications.

Description

Determines whether the application was started from the Start Application button on Notifications.
If started from a StreetPass notification, the JumpArg arguments serialId, dataVersion, and jumpParam arguments are all 0.
If started from the notification of a regular application, the JumpArg arguments, serialId, and dataVersion are 0, and jumpParam has the value specified by the nn::news::CTR::user::PostNews function..
If started from a SpotPass notification, the JumpArg arguments, serialId, dataVersion, and jumpParam have the values set by the BOSS data server.

Revision History

2012/04/26
Initial version.

CONFIDENTIAL