floo::BMXDevice
Device information
#include <bmx_device.h>
Inherits from BMXBaseObject
Public Functions
Name | |
---|---|
virtual | ~BMXDevice() Destructor |
virtual int | deviceSN() =0 Device serial number |
virtual int64_t | userId() =0 User id |
virtual int | platform() =0 Software platform |
virtual std::string | userAgent() =0 User agent information |
virtual void | setUserAgent(const std::string & userAgent) =0 Set user agent information |
virtual bool | isCurrentDevice() =0 Whether for the current device |
Protected Functions
Name | |
---|---|
BMXDevice() |
Public Functions Documentation
function ~BMXDevice
inline virtual ~BMXDevice()
Destructor
Example:
function deviceSN
virtual int deviceSN() =0
Device serial number
Return: int
Example:
function userId
virtual int64_t userId() =0
User id
Return: int64_t
Example:
function platform
virtual int platform() =0
Software platform
Return: int
Example:
function userAgent
virtual std::string userAgent() =0
User agent information
Return: std::string
Example:
function setUserAgent
virtual void setUserAgent(
const std::string & userAgent
) =0
Set user agent information
Parameters:
- userAgent User agent information
Example:
function isCurrentDevice
virtual bool isCurrentDevice() =0
Whether for the current device
Return: bool
Protected Functions Documentation
Example:
function BMXDevice
inline BMXDevice()
Example:
Updated on 2022-01-26 at 17:20:40 +0800