Class: Call
Defined in: WAProto/index.d.ts:20896
Represents a Call.
Implements
Constructors
new Call()
new Call(
properties
?):Call
Defined in: WAProto/index.d.ts:20902
Constructs a new Call.
Parameters
properties?
Properties to set
Returns
Properties
callKey?
optional
callKey:null
|Uint8Array
<ArrayBufferLike
>
Defined in: WAProto/index.d.ts:20905
Call callKey.
Implementation of
contextInfo?
optional
contextInfo:null
|IContextInfo
Defined in: WAProto/index.d.ts:20923
Call contextInfo.
Implementation of
conversionData?
optional
conversionData:null
|Uint8Array
<ArrayBufferLike
>
Defined in: WAProto/index.d.ts:20911
Call conversionData.
Implementation of
conversionDelaySeconds?
optional
conversionDelaySeconds:null
|number
Defined in: WAProto/index.d.ts:20914
Call conversionDelaySeconds.
Implementation of
conversionSource?
optional
conversionSource:null
|string
Defined in: WAProto/index.d.ts:20908
Call conversionSource.
Implementation of
ctwaPayload?
optional
ctwaPayload:null
|Uint8Array
<ArrayBufferLike
>
Defined in: WAProto/index.d.ts:20920
Call ctwaPayload.
Implementation of
ctwaSignals?
optional
ctwaSignals:null
|string
Defined in: WAProto/index.d.ts:20917
Call ctwaSignals.
Implementation of
Methods
toJSON()
toJSON():
object
Defined in: WAProto/index.d.ts:20993
Converts this Call to JSON.
Returns
object
JSON object
create()
static
create(properties
?):Call
Defined in: WAProto/index.d.ts:20930
Creates a new Call instance using the specified properties.
Parameters
properties?
Properties to set
Returns
Call instance
decode()
static
decode(reader
,length
?):Call
Defined in: WAProto/index.d.ts:20956
Decodes a Call message from the specified reader or buffer.
Parameters
reader
Reader or buffer to decode from
Uint8Array
<ArrayBufferLike
> | Reader
length?
number
Message length if known beforehand
Returns
Call
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
static
decodeDelimited(reader
):Call
Defined in: WAProto/index.d.ts:20965
Decodes a Call message from the specified reader or buffer, length delimited.
Parameters
reader
Reader or buffer to decode from
Uint8Array
<ArrayBufferLike
> | Reader
Returns
Call
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
encode()
static
encode(message
,writer
?):Writer
Defined in: WAProto/index.d.ts:20938
Encodes the specified Call message. Does not implicitly verify messages.
Parameters
message
Call message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
static
encodeDelimited(message
,writer
?):Writer
Defined in: WAProto/index.d.ts:20946
Encodes the specified Call message, length delimited. Does not implicitly verify messages.
Parameters
message
Call message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
static
fromObject(object
):Call
Defined in: WAProto/index.d.ts:20979
Creates a Call message from a plain object. Also converts values to their respective internal types.
Parameters
object
Plain object
Returns
Call
getTypeUrl()
static
getTypeUrl(typeUrlPrefix
?):string
Defined in: WAProto/index.d.ts:21000
Gets the default type url for Call
Parameters
typeUrlPrefix?
string
your custom typeUrlPrefix(default "type.googleapis.com")
Returns
string
The default type url
toObject()
static
toObject(message
,options
?):object
Defined in: WAProto/index.d.ts:20987
Creates a plain object from a Call message. Also converts values to other types if specified.
Parameters
message
Call
options?
IConversionOptions
Conversion options
Returns
object
Plain object
verify()
static
verify(message
):null
|string
Defined in: WAProto/index.d.ts:20972
Verifies a Call message.
Parameters
message
Plain object to verify
Returns
null
| string
null
if valid, otherwise the reason why it is not