Class RTCDataChannel | WebRTC | 1.1.2-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class RTCDataChannel

    Inheritance
    Object
    RTCDataChannel
    Namespace: Unity.WebRTC
    Syntax
    public class RTCDataChannel : IDisposable

    Properties

    Id

    Declaration
    public int Id { get; }
    Property Value
    Type Description
    Int32

    Label

    Declaration
    public string Label { get; }
    Property Value
    Type Description
    String

    OnClose

    Declaration
    public DelegateOnClose OnClose { get; set; }
    Property Value
    Type Description
    DelegateOnClose

    OnMessage

    Declaration
    public DelegateOnMessage OnMessage { get; set; }
    Property Value
    Type Description
    DelegateOnMessage

    OnOpen

    Declaration
    public DelegateOnOpen OnOpen { get; set; }
    Property Value
    Type Description
    DelegateOnOpen

    Methods

    Close()

    Declaration
    public void Close()

    Dispose()

    Declaration
    public void Dispose()

    Finalize()

    Declaration
    protected void Finalize()

    Send(Byte[])

    Declaration
    public void Send(byte[] msg)
    Parameters
    Type Name Description
    Byte[] msg

    Send(String)

    Declaration
    public void Send(string msg)
    Parameters
    Type Name Description
    String msg
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023