/ fm / liveswitch / sdp / ConnectionData
Class: ConnectionData
liveswitch.sdp.ConnectionData
An SDP connection data element.
Table of contents
Constructors
Methods
- getAddressType
- getConnectionAddress
- getNetworkType
- getTypeString
- setAddressType
- setConnectionAddress
- setNetworkType
- toString
- update
- parse
Constructors
constructor
+ new ConnectionData(connectionAddress
: string): ConnectionData
Initializes a new instance of the [[fm.liveswitch.sdp.connectionData]] class.
Parameters:
Name | Type | Description |
---|---|---|
connectionAddress |
string | The connection address. |
Returns: ConnectionData
Defined in: Generated/TypeScript/fm.liveswitch/sdp/ConnectionData.ts:17
Methods
getAddressType
▸ getAddressType(): string
Gets the type of the address. See [[fm.liveswitch.sdp.connectionData.addressType]] for possible values.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/sdp/ConnectionData.ts:65
getConnectionAddress
▸ getConnectionAddress(): string
Gets the connection address.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/sdp/ConnectionData.ts:77
getNetworkType
▸ getNetworkType(): string
Gets the type of network. See [[fm.liveswitch.sdp.connectionData.networkType]] for possible values.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/sdp/ConnectionData.ts:89
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/sdp/ConnectionData.ts:9
setAddressType
▸ setAddressType(value
: string): void
Sets the type of the address. See [[fm.liveswitch.sdp.connectionData.addressType]] for possible values.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/sdp/ConnectionData.ts:101
setConnectionAddress
▸ setConnectionAddress(value
: string): void
Sets the connection address.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/sdp/ConnectionData.ts:113
setNetworkType
▸ setNetworkType(value
: string): void
Sets the type of network. See [[fm.liveswitch.sdp.connectionData.networkType]] for possible values.
Parameters:
Name | Type |
---|---|
value |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/sdp/ConnectionData.ts:125
toString
▸ toString(): string
Converts this instance to a string.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/sdp/ConnectionData.ts:137
update
▸ update(connectionAddress
: string): void
Updates the connection address.
Parameters:
Name | Type | Description |
---|---|---|
connectionAddress |
string | The connection address. |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/sdp/ConnectionData.ts:157
parse
▸ Static
parse(s
: string): ConnectionData
Creates an [[fm.liveswitch.sdp.connectionData]] instance from a string.
Parameters:
Name | Type | Description |
---|---|---|
s |
string | The string to parse. |
Returns: ConnectionData
Defined in: Generated/TypeScript/fm.liveswitch/sdp/ConnectionData.ts:47