explicit DataStorePersistenceInitParam( qUnsignedInt16 persistenceSlotId = DataStoreConstants::INVALID_PERSISTENCE_SLOT_ID, qBool deleteLastObject = true );
Name | Description | |
---|---|---|
in | persistenceSlotId | The persistence slot ID. |
in | deleteLastObject | Specifies whether to delete the previous data. |
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.
CONFIDENTIAL