Implements
Constructors
new UserAgent()
new UserAgent(Defined in: WAProto/index.d.ts:2868p?):UserAgent
Parameters
p?
IUserAgent
Returns
UserAgent
Properties
appVersion?
Defined in: WAProto/index.d.ts:2870optionalappVersion:null|IAppVersion
Implementation of
IUserAgent.appVersion
device?
Defined in: WAProto/index.d.ts:2875optionaldevice:null|string
Implementation of
IUserAgent.device
deviceBoard?
Defined in: WAProto/index.d.ts:2881optionaldeviceBoard:null|string
Implementation of
IUserAgent.deviceBoard
deviceExpId?
Defined in: WAProto/index.d.ts:2882optionaldeviceExpId:null|string
Implementation of
IUserAgent.deviceExpId
deviceModelType?
Defined in: WAProto/index.d.ts:2884optionaldeviceModelType:null|string
Implementation of
IUserAgent.deviceModelType
deviceType?
Defined in: WAProto/index.d.ts:2883optionaldeviceType:null|DeviceType
Implementation of
IUserAgent.deviceType
localeCountryIso31661Alpha2?
Defined in: WAProto/index.d.ts:2880optionallocaleCountryIso31661Alpha2:null|string
Implementation of
IUserAgent.localeCountryIso31661Alpha2
localeLanguageIso6391?
Defined in: WAProto/index.d.ts:2879optionallocaleLanguageIso6391:null|string
Implementation of
IUserAgent.localeLanguageIso6391
manufacturer?
Defined in: WAProto/index.d.ts:2874optionalmanufacturer:null|string
Implementation of
IUserAgent.manufacturer
mcc?
Defined in: WAProto/index.d.ts:2871optionalmcc:null|string
Implementation of
IUserAgent.mcc
mnc?
Defined in: WAProto/index.d.ts:2872optionalmnc:null|string
Implementation of
IUserAgent.mnc
osBuildNumber?
Defined in: WAProto/index.d.ts:2876optionalosBuildNumber:null|string
Implementation of
IUserAgent.osBuildNumber
osVersion?
Defined in: WAProto/index.d.ts:2873optionalosVersion:null|string
Implementation of
IUserAgent.osVersion
phoneId?
Defined in: WAProto/index.d.ts:2877optionalphoneId:null|string
Implementation of
IUserAgent.phoneId
platform?
Defined in: WAProto/index.d.ts:2869optionalplatform:null|Platform
Implementation of
IUserAgent.platform
releaseChannel?
Defined in: WAProto/index.d.ts:2878optionalreleaseChannel:null|ReleaseChannel
Implementation of
IUserAgent.releaseChannel
Methods
create()
Defined in: WAProto/index.d.ts:2885staticcreate(properties?):UserAgent
Parameters
properties?
IUserAgent
Returns
UserAgent
decode()
Defined in: WAProto/index.d.ts:2887staticdecode(r,l?):UserAgent
Parameters
r
Uint8Array<ArrayBufferLike> | Reader
l?
number
Returns
UserAgent
encode()
Defined in: WAProto/index.d.ts:2886staticencode(m,w?):Writer
Parameters
m
IUserAgent
w?
Writer
Returns
Writer
fromObject()
Defined in: WAProto/index.d.ts:2888staticfromObject(d):UserAgent
Parameters
d
Returns
UserAgent
getTypeUrl()
Defined in: WAProto/index.d.ts:2891staticgetTypeUrl(typeUrlPrefix?):string
Parameters
typeUrlPrefix?
string
Returns
string
toJSON()
toJSON(): object
Defined in: WAProto/index.d.ts:2890
Returns
object
toObject()
Defined in: WAProto/index.d.ts:2889statictoObject(m,o?):object
Parameters
m
UserAgent
o?
IConversionOptions
Returns
object