adEndTrackUsageTime

GameSpy SDK

adEndTrackUsageTime

Ends time-based usage tracking for the specified unit.

AdResult adEndTrackUsageTime(
AdInterfacePtr theInterface,
const char * thePositionName,
AdUsageCategory theCat );
RoutineRequired HeaderDistribution
adEndTrackUsageTime<ad.h>SDKZIP

Return Value

This function returns AdResult_NO_ERROR upon success. Otherwise a valid AdResult error condition is returned. (see remarks)

Parameters

theInterface
[in] SDK interface previously initialized using adInitialize
thePositionName
[in] String name of the position registered using adRegisterPosition
theCat
[in] UC_VIEWS or UC_INTERACTIONS

Remarks

See adBeginTrackUsageTime for details on usage tracking.