Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RewardedOptions

Hierarchy

  • RewardedOptions

Index

Properties

Optional accept

accept: undefined | string

Accept button text.

Optional decline

decline: undefined | string

Decline button text.

prompt

prompt: string

Rewarded ad prompt. Must state what will be rewarded for viewing ad.

rewardGranted

rewardGranted: () => void

Function to be called when reward is granted.

Type declaration

    • (): void
    • Returns void

rewardRejected

rewardRejected: () => void

Function to be called when rewarded ad prompt is rejected or rewarded ad is skipped.

Type declaration

    • (): void
    • Returns void

Optional wait

wait: undefined | string

Message shown while waiting during fallback ad.

Generated using TypeDoc