floo::BMXDevice

设备信息

#include <bmx_device.h>

Inherits from BMXBaseObject

Public Functions

Name
virtual ~BMXDevice()
析构函数
virtual int deviceSN() =0
设备序列号
virtual int64_t userId() =0
用户id
virtual int platform() =0
软件平台
virtual std::string userAgent() =0
用户代理信息
virtual void setUserAgent(const std::string & userAgent) =0
设置用户代理信息
virtual bool isCurrentDevice() =0
是否是当前设备

Protected Functions

Name
BMXDevice()

Public Functions Documentation

function ~BMXDevice

inline virtual ~BMXDevice()

析构函数

Example:

function deviceSN

virtual int deviceSN() =0

设备序列号

Return: int

Example:

function userId

virtual int64_t userId() =0

用户id

Return: int64_t

Example:

function platform

virtual int platform() =0

软件平台

Return: int

Example:

function userAgent

virtual std::string userAgent() =0

用户代理信息

Return: std::string

Example:

function setUserAgent

virtual void setUserAgent(
    const std::string & userAgent
) =0

设置用户代理信息

Parameters:

  • userAgent 用户代理信息

Example:

function isCurrentDevice

virtual bool isCurrentDevice() =0

是否是当前设备

Return: bool

Protected Functions Documentation

Example:

function BMXDevice

inline BMXDevice()

Example:


Updated on 2022-01-26 at 17:20:40 +0800

© 2019-2024 美信拓扑 | 官网 | 网站地图 该文件修订时间: 2024-12-07 06:49:06