nn::friends::CTR::SetNotificationMask Function

Syntax

Result SetNotificationMask(
     bit32 mask
);

Arguments

Name Description
in mask Specifies the type of notification bitmask received. Specify a bitwise OR of the members of the nn::friends::CTR::NotificationMask enumerated type.

Return Values

Returns the result of the operation.

Value Description
ResultSuccess Process succeeded.
ResultNotInitialized The friend presence library has not been initialized.
Other Some other result may be returned as a result of factors such as the daemon's internal state.

Description

Specifies the type of notification received.

Signals events specified with nn::friends::CTR::AttachToEventNotification, and specifies the type of notification included in the history acquired with nn::friends::CTR::GetEventNotification.

The initial state is the same state as specifying nn::friends::CTR::NOTIFICATION_MASK_DEFAULT in this function.

Revision History

2011/03/11
Added specific examples of return values.
2010/11/10
Initial version.

CONFIDENTIAL