react-native-adjoe-sdk-4.1.0
    Preparing search index...

    Interface PlaytimeRewardAction

    Rewarded action representation.

    interface PlaytimeRewardAction {
        amount: number;
        boosterExpiresAt?: string | null;
        completedRewards?: number | null;
        isRewardedForPromotion?: boolean | null;
        isTimed?: boolean | null;
        level?: number | null;
        name: string;
        originalCoins?: number | null;
        playDuration?: number | null;
        rewardedAt?: string | null;
        rewardsCount?: number | null;
        taskDescription: string;
        taskType: string;
        timedCoins?: number | null;
        timedCoinsDuration?: number | null;
    }
    Index

    Properties

    amount: number

    The amount of coins or rewards the user will receive upon completing the event.

    boosterExpiresAt?: string | null

    The timestamp (ISO 8601) indicating when the booster reward expires. Use it to determine user eligibility for booster rewards and support features such as booster countdown.

    completedRewards?: number | null

    Number of times that the action has been rewarded, applicable to repetitive events.

    isRewardedForPromotion?: boolean | null

    Flag indicating whether the event has been rewarded with promotion.

    isTimed?: boolean | null

    Flag indicating whether the event is a booster event.

    level?: number | null

    The level number of the time-based event. Currently not supported on iOS.

    name: string

    Reward action name.

    originalCoins?: number | null

    Amount of coins that would be rewarded without any bonuses applied.

    playDuration?: number | null

    Duration (in seconds) of play time required to reward a time-based event. Currently not supported on iOS.

    rewardedAt?: string | null

    Timestamp when a time-based reward was granted (ISO 8601).

    rewardsCount?: number | null

    Number of times that the action can be rewarded, applicable to repetitive events.

    taskDescription: string

    Description of the task.

    taskType: string

    Type of task to complete. Possible values: sequential, bonus, playtime.

    timedCoins?: number | null

    Amount of coins rewarded during the booster period.

    timedCoinsDuration?: number | null

    Time window (in minutes) during which the Booster reward is applicable.