nn::nex::DataStoreRatingInitParam::SetLock Member Function

Syntax

void SetLock(
     DataStoreConstants::RatingLockType lockType,
     qInt16 periodDuration = 0,
     qInt8 periodHour = 0
);

Parameters

Name Description
in lockType The lock type.
in periodDuration The lock period. Specify a lock duration in seconds if lockType is DataStoreConstants::RATING_LOCK_INTERVAL. Specify DataStoreConstants::RatingLockPeriod or an integer greater than 0 if lockType is DataStoreConstants::RATING_LOCK_PERIOD. In the latter case, the integer greater than 0 is the number of days for which to lock the rating. This argument is ignored if lockType is DataStoreConstants::RATING_LOCK_PERMANENT or DataStoreConstants::RATING_LOCK_NONE.
in periodHour Time at which to remove the rating lock. (Valid only when lockType is DataStoreConstants::RATING_LOCK_PERIOD.)

Return Values

None.

Description

Sets duplicate locks. This function is not recommended. Use the overloaded function that takes DataStoreRatingLockInitParam as an argument.

Revision History

2012/07/30
Using this function is no longer recommended. Use the overloaded function that takes DataStoreRatingLockInitParam as an argument instead.
2011/07/13
Initial version.

CONFIDENTIAL