Constructs a new UserAgent.
Optional
properties: IUserAgentProperties to set
Optional
appUserAgent appVersion.
UserAgent device.
UserAgent deviceBoard.
UserAgent deviceExpId.
UserAgent deviceType.
UserAgent localeCountryIso31661Alpha2.
UserAgent localeLanguageIso6391.
UserAgent manufacturer.
UserAgent mcc.
UserAgent mnc.
UserAgent osBuildNumber.
UserAgent osVersion.
UserAgent phoneId.
UserAgent platform.
UserAgent releaseChannel.
Static
createCreates a new UserAgent instance using the specified properties.
Optional
properties: IUserAgentProperties to set
UserAgent instance
Static
decodeDecodes a UserAgent message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
UserAgent
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a UserAgent message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
UserAgent
If the payload is not a reader or valid buffer
If required fields are missing
Static
encodeEncodes the specified UserAgent message. Does not implicitly verify messages.
UserAgent message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
encodeEncodes the specified UserAgent message, length delimited. Does not implicitly verify messages.
UserAgent message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
fromStatic
toCreates a plain object from a UserAgent message. Also converts values to other types if specified.
UserAgent
Optional
options: IConversionOptionsConversion options
Plain object
Static
verifyGenerated using TypeDoc
Represents a UserAgent.