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