appnext.getApiVersion()

Type Function
Return value String
Revision Release 2021.3646
Keywords ads, advertising, Appnext, getApiVersion
See also appnext.*

Overview

Returns the OS-specific SDK version.

Syntax

appnext.getApiVersion()

Example

local appnext = require( "plugin.appnext" )

local platform = system.getInfo( "platformName" )

print( "Appnext SDK version for " .. platform .. " is: " .. appnext.getApiVersion() )