react-native-adjoe-sdk-4.0.0-beta.2
    Preparing search index...

    Interface PlaytimeRewardAction

    Rewarded action representation.

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

    Properties

    amount: number

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

    boosterExpiresAt?: null | string

    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?: null | number

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

    isRewardedForPromotion?: null | boolean

    Flag indicating whether the event has been rewarded with promotion.

    isTimed?: null | boolean

    Flag indicating whether the event is a booster event.

    level?: null | number

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

    name: string

    Reward action name.

    originalCoins?: null | number

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

    playDuration?: null | number

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

    rewardedAt?: null | string

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

    rewardsCount?: null | number

    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?: null | number

    Amount of coins rewarded during the booster period.

    timedCoinsDuration?: null | number

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