SetNotificationMask

nn::friends::CTR::SetNotificationMask Function

Syntax

Result SetNotificationMask(
     bit32 mask
);

Parameters

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

Return Values

Returns the result of the operation.

Value Description
Result::IsSuccess Process succeeded.
ResultNotInitialized The friend presence library is not initialized.
Other Another result may be returned, depending on the internal state of the daemon and other factors.

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