poki_sdk
Version: stable
Functions
poki_sdk.gameplay_start()
poki_sdk.gameplay_start()
PARAMETERS
None
poki_sdk.gameplay_stop()
poki_sdk.gameplay_stop()
PARAMETERS
None
poki_sdk.commercial_break()
poki_sdk.commercial_break(callback)
PARAMETERS
poki_sdk.rewarded_break()
poki_sdk.rewarded_break(size,callback)
PARAMETERS
size |
string
|
The size of the reward. Accepted values are small, medium and large. Optional. Default is small. |
callback |
function
|
self |
object
|
The calling script instance |
status |
number
|
One of the statuses: `poki_sdk.REWARDED_BREAK_ERROR`, `poki_sdk.REWARDED_BREAK_START`, `poki_sdk.REWARDED_BREAK_SUCCESS` |
|
poki_sdk.set_debug()
poki_sdk.set_debug(is_debug)
PARAMETERS
poki_sdk.capture_error()
poki_sdk.capture_error(error)
PARAMETERS
poki_sdk.shareable_url()
poki_sdk.shareable_url(params,callback)
PARAMETERS
params |
table
|
|
callback |
function
|
|
poki_sdk.get_url_param()
poki_sdk.get_url_param(key)
PARAMETERS
Constants