poki_sdk

Version: stable

FUNCTION
poki_sdk.gameplay_start()
poki_sdk.gameplay_stop()
poki_sdk.commercial_break()
poki_sdk.rewarded_break()
poki_sdk.set_debug()
poki_sdk.capture_error()
poki_sdk.shareable_url()
poki_sdk.get_url_param()

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

callback function

poki_sdk.rewarded_break()

poki_sdk.rewarded_break(callback)

PARAMETERS

callback function

poki_sdk.set_debug()

poki_sdk.set_debug(is_debug)

PARAMETERS

is_debug boolean

poki_sdk.capture_error()

poki_sdk.capture_error(error)

PARAMETERS

error string

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

key string