nn::cec::CTR::MessageBox::GetMessageRecvDate Member Function

Syntax

nn::fnd::DateTimeParameters GetMessageRecvDate(
     const CecBoxType boxType,
     const u32 messIndex
) const;

Parameters

Name Description
in boxType CecBoxType
in messIndex The nth message.

Return Values

nn::fnd::DateTimeParameters

Description

Gets the timestamp of when a message was received.

Gets the timestamp of when a received message was received (when StreetPass occurred). nn::fnd::DateTime::MIN_DATETIME is returned if a nonexistent messIndex is specified, and no value can be obtained.
Make sure that you retrieve information for a message that exists.
You can use GetMessageIndex or a similar function to check whether a message exists.


CONFIDENTIAL