Class ServerSideVerificationOptions
java.lang.Object
com.codename1.ads.ServerSideVerificationOptions
Options for server side verification (SSV) of rewarded ads. When set on a
RewardedAd or RewardedInterstitialAd before it is shown, the ad network
posts a signed callback to your server so the reward can be granted securely
rather than trusting the client.
The customData and userId are forwarded verbatim to your verification
endpoint, letting you correlate the callback with the user and context.
-
Constructor Summary
ConstructorsConstructorDescriptionServerSideVerificationOptions(String userId, String customData) Creates a new set of server side verification options. -
Method Summary
Modifier and TypeMethodDescriptionAn opaque string forwarded to the verification callback, may be null.The user identifier forwarded to the verification callback, may be null.
-
Constructor Details
-
ServerSideVerificationOptions
-
-
Method Details
-
getUserId
The user identifier forwarded to the verification callback, may be null. -
getCustomData
An opaque string forwarded to the verification callback, may be null.
-