LANYINGDevelopers
Web & Mini ProgramiOSAndroidC++Server API

im::floo::floolib::BMXDevice#

Device information

Public Functions#

Name
synchronized voiddelete()
intdeviceSN()
Device serial number
longuserId()
User id
intplatform()
Software platform
StringuserAgent()
User agent information
voidsetUserAgent(String userAgent)
Set user agent information
booleanisCurrentDevice()
Whether for the current device

Protected Functions#

Name
BMXDevice(long cPtr, boolean cMemoryOwn)
voidfinalize()
longgetCPtr(BMXDevice obj)

Public Functions Documentation#

function delete#

inline synchronized void delete()

function deviceSN#

inline int deviceSN()

Device serial number

Return: int

function userId#

inline long userId()

User ID

Return: int64_t

function platform#

inline int platform()

Software platform

Return: int

function userAgent#

inline String userAgent()

User agent information

Return: std::string

function setUserAgent#

inline void setUserAgent(
    String userAgent
)

Set user agent information

Parameters:

  • userAgent User agent information

function isCurrentDevice#

inline boolean isCurrentDevice()

Whether for the current device

Return: bool

Protected Functions Documentation#

function BMXDevice#

inline BMXDevice(
    long cPtr,
    boolean cMemoryOwn
)

function finalize#

inline void finalize()

function getCPtr#

static inline long getCPtr(
    BMXDevice obj
)

Updated on 2022-01-26 at 17:18:31 +0800

Generated API content with concise AI notes where context helps.