:github_url: hide .. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/modules/webrtc/doc_classes/WebRTCDataChannelExtension.xml. .. _class_WebRTCDataChannelExtension: WebRTCDataChannelExtension ========================== **Inherits:** :ref:`WebRTCDataChannel` **<** :ref:`PacketPeer` **<** :ref:`RefCounted` **<** :ref:`Object` Methods ------- +-----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`_close` **(** **)** |virtual| | +-----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`_get_available_packet_count` **(** **)** |virtual| |const| | +-----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`_get_buffered_amount` **(** **)** |virtual| |const| | +-----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`_get_id` **(** **)** |virtual| |const| | +-----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`_get_label` **(** **)** |virtual| |const| | +-----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`_get_max_packet_life_time` **(** **)** |virtual| |const| | +-----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`_get_max_packet_size` **(** **)** |virtual| |const| | +-----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`_get_max_retransmits` **(** **)** |virtual| |const| | +-----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`_get_packet` **(** const uint8_t ** r_buffer, int32_t* r_buffer_size **)** |virtual| | +-----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`_get_protocol` **(** **)** |virtual| |const| | +-----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`_get_ready_state` **(** **)** |virtual| |const| | +-----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`_get_write_mode` **(** **)** |virtual| |const| | +-----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`_is_negotiated` **(** **)** |virtual| |const| | +-----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`_is_ordered` **(** **)** |virtual| |const| | +-----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`_poll` **(** **)** |virtual| | +-----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`_put_packet` **(** const uint8_t* p_buffer, :ref:`int` p_buffer_size **)** |virtual| | +-----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`_set_write_mode` **(** :ref:`int` p_write_mode **)** |virtual| | +-----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`_was_string_packet` **(** **)** |virtual| |const| | +-----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------+ Method Descriptions ------------------- .. _class_WebRTCDataChannelExtension_method__close: - void **_close** **(** **)** |virtual| ---- .. _class_WebRTCDataChannelExtension_method__get_available_packet_count: - :ref:`int` **_get_available_packet_count** **(** **)** |virtual| |const| ---- .. _class_WebRTCDataChannelExtension_method__get_buffered_amount: - :ref:`int` **_get_buffered_amount** **(** **)** |virtual| |const| ---- .. _class_WebRTCDataChannelExtension_method__get_id: - :ref:`int` **_get_id** **(** **)** |virtual| |const| ---- .. _class_WebRTCDataChannelExtension_method__get_label: - :ref:`String` **_get_label** **(** **)** |virtual| |const| ---- .. _class_WebRTCDataChannelExtension_method__get_max_packet_life_time: - :ref:`int` **_get_max_packet_life_time** **(** **)** |virtual| |const| ---- .. _class_WebRTCDataChannelExtension_method__get_max_packet_size: - :ref:`int` **_get_max_packet_size** **(** **)** |virtual| |const| ---- .. _class_WebRTCDataChannelExtension_method__get_max_retransmits: - :ref:`int` **_get_max_retransmits** **(** **)** |virtual| |const| ---- .. _class_WebRTCDataChannelExtension_method__get_packet: - :ref:`int` **_get_packet** **(** const uint8_t ** r_buffer, int32_t* r_buffer_size **)** |virtual| ---- .. _class_WebRTCDataChannelExtension_method__get_protocol: - :ref:`String` **_get_protocol** **(** **)** |virtual| |const| ---- .. _class_WebRTCDataChannelExtension_method__get_ready_state: - :ref:`int` **_get_ready_state** **(** **)** |virtual| |const| ---- .. _class_WebRTCDataChannelExtension_method__get_write_mode: - :ref:`int` **_get_write_mode** **(** **)** |virtual| |const| ---- .. _class_WebRTCDataChannelExtension_method__is_negotiated: - :ref:`bool` **_is_negotiated** **(** **)** |virtual| |const| ---- .. _class_WebRTCDataChannelExtension_method__is_ordered: - :ref:`bool` **_is_ordered** **(** **)** |virtual| |const| ---- .. _class_WebRTCDataChannelExtension_method__poll: - :ref:`int` **_poll** **(** **)** |virtual| ---- .. _class_WebRTCDataChannelExtension_method__put_packet: - :ref:`int` **_put_packet** **(** const uint8_t* p_buffer, :ref:`int` p_buffer_size **)** |virtual| ---- .. _class_WebRTCDataChannelExtension_method__set_write_mode: - void **_set_write_mode** **(** :ref:`int` p_write_mode **)** |virtual| ---- .. _class_WebRTCDataChannelExtension_method__was_string_packet: - :ref:`bool` **_was_string_packet** **(** **)** |virtual| |const| .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`