nn::nex::DataStorePersistenceInitParam::DataStorePersistenceInitParam Constructor

Syntax

explicit DataStorePersistenceInitParam(
     qUnsignedInt16 persistenceSlotId = DataStoreConstants::INVALID_PERSISTENCE_SLOT_ID,
     qBool deleteLastObject = true
);

Parameters

Name Description
in persistenceSlotId The persistence slot ID.
in deleteLastObject Specifies whether to delete the previous data.

Description

Constructor.

If you are going to perpetuate the data, specify a persistence slot ID. If you specify DataStoreConstants::INVALID_PERSISTENCE_SLOT_ID, which is the default parameter, the data is not perpetuated. The parameter in deleteLastObject specifies whether to delete any data that happens to already exist in the specified persistence slot ID.

Revision History

2012/05/30
Initial version.

CONFIDENTIAL