An SDP bandwidth element. More...
Public Member Functions | |
Bandwidth (String bandwidthType, long value) | |
Initializes a new instance of the fm.liveswitch.sdp.Bandwidth class. More... | |
String | getBandwidthType () |
Gets the type of bandwidth. More... | |
long | getValue () |
Gets the bandwidth, typically in kilobits per second. More... | |
String | toString () |
Converts this instance to a string. More... | |
Static Public Member Functions | |
static fm.liveswitch.sdp.Bandwidth | parse (String s) |
Creates an fm.liveswitch.sdp.Bandwidth instance from a string. More... | |
An SDP bandwidth element.
fm.liveswitch.sdp.Bandwidth.Bandwidth | ( | String | bandwidthType, |
long | value | ||
) |
Initializes a new instance of the fm.liveswitch.sdp.Bandwidth class.
bandwidthType | The type of bandwidth. See fm.liveswitch.sdp.Bandwidth#getBandwidthType for possible values. |
value | The bandwidth, typically in kilobits per second. |
String fm.liveswitch.sdp.Bandwidth.getBandwidthType | ( | ) |
Gets the type of bandwidth.
See fm.liveswitch.sdp.Bandwidth#getBandwidthType for possible values.
long fm.liveswitch.sdp.Bandwidth.getValue | ( | ) |
Gets the bandwidth, typically in kilobits per second.
|
static |
Creates an fm.liveswitch.sdp.Bandwidth instance from a string.
s | The string to parse. |
String fm.liveswitch.sdp.Bandwidth.toString | ( | ) |
Converts this instance to a string.