docs.unity.cn

Unity Render Streaming 3.1.0-exp.6

    Show / Hide Table of Contents

    Class DataChannelBase

    Inheritance
    Object
    Object
    Component
    Behaviour
    MonoBehaviour
    DataChannelBase
    InputChannelReceiverBase
    InputSender
    Inherited Members
    MonoBehaviour.IsInvoking()
    MonoBehaviour.CancelInvoke()
    MonoBehaviour.Invoke(String, Single)
    MonoBehaviour.InvokeRepeating(String, Single, Single)
    MonoBehaviour.CancelInvoke(String)
    MonoBehaviour.IsInvoking(String)
    MonoBehaviour.StartCoroutine(String)
    MonoBehaviour.StartCoroutine(String, Object)
    MonoBehaviour.StartCoroutine(IEnumerator)
    MonoBehaviour.StopCoroutine(IEnumerator)
    MonoBehaviour.StopCoroutine(Coroutine)
    MonoBehaviour.StopCoroutine(String)
    MonoBehaviour.StopAllCoroutines()
    MonoBehaviour.print(Object)
    MonoBehaviour.useGUILayout
    MonoBehaviour.runInEditMode
    Behaviour.enabled
    Behaviour.isActiveAndEnabled
    Component.GetComponent(Type)
    Component.GetComponent<T>()
    Component.TryGetComponent(Type, Component)
    Component.TryGetComponent<T>(T)
    Component.GetComponent(String)
    Component.GetComponentInChildren(Type, Boolean)
    Component.GetComponentInChildren(Type)
    Component.GetComponentInChildren<T>(Boolean)
    Component.GetComponentInChildren<T>()
    Component.GetComponentsInChildren(Type, Boolean)
    Component.GetComponentsInChildren(Type)
    Component.GetComponentsInChildren<T>(Boolean)
    Component.GetComponentsInChildren<T>(Boolean, List<T>)
    Component.GetComponentsInChildren<T>()
    Component.GetComponentsInChildren<T>(List<T>)
    UnityEngine.Component.GetComponentInParent(System.Type, System.Boolean)
    Component.GetComponentInParent(Type)
    UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
    Component.GetComponentInParent<T>()
    Component.GetComponentsInParent(Type, Boolean)
    Component.GetComponentsInParent(Type)
    Component.GetComponentsInParent<T>(Boolean)
    Component.GetComponentsInParent<T>(Boolean, List<T>)
    Component.GetComponentsInParent<T>()
    Component.GetComponents(Type)
    Component.GetComponents(Type, List<Component>)
    Component.GetComponents<T>(List<T>)
    Component.GetComponents<T>()
    Component.CompareTag(String)
    Component.SendMessageUpwards(String, Object, SendMessageOptions)
    Component.SendMessageUpwards(String, Object)
    Component.SendMessageUpwards(String)
    Component.SendMessageUpwards(String, SendMessageOptions)
    Component.SendMessage(String, Object)
    Component.SendMessage(String)
    Component.SendMessage(String, Object, SendMessageOptions)
    Component.SendMessage(String, SendMessageOptions)
    Component.BroadcastMessage(String, Object, SendMessageOptions)
    Component.BroadcastMessage(String, Object)
    Component.BroadcastMessage(String)
    Component.BroadcastMessage(String, SendMessageOptions)
    Component.transform
    Component.gameObject
    Component.tag
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, Boolean)
    UnityEngine.Object.FindObjectsByType(System.Type, UnityEngine.FindObjectsSortMode)
    UnityEngine.Object.FindObjectsByType(System.Type, UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
    Object.DontDestroyOnLoad(Object)
    Object.FindObjectsOfType<T>()
    UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsSortMode)
    UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
    UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
    Object.FindObjectOfType<T>()
    UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
    UnityEngine.Object.FindFirstObjectByType<T>()
    UnityEngine.Object.FindAnyObjectByType<T>()
    UnityEngine.Object.FindFirstObjectByType<T>(UnityEngine.FindObjectsInactive)
    UnityEngine.Object.FindAnyObjectByType<T>(UnityEngine.FindObjectsInactive)
    Object.FindObjectOfType(Type)
    UnityEngine.Object.FindFirstObjectByType(System.Type)
    UnityEngine.Object.FindAnyObjectByType(System.Type)
    Object.FindObjectOfType(Type, Boolean)
    UnityEngine.Object.FindFirstObjectByType(System.Type, UnityEngine.FindObjectsInactive)
    UnityEngine.Object.FindAnyObjectByType(System.Type, UnityEngine.FindObjectsInactive)
    Object.ToString()
    Object.name
    Object.hideFlags
    Namespace: Unity.RenderStreaming
    Syntax
    public abstract class DataChannelBase : MonoBehaviour, IDataChannel

    Fields

    label

    Declaration
    [SerializeField]
    protected string label
    Field Value
    Type Description
    String

    local

    Declaration
    [SerializeField]
    protected bool local
    Field Value
    Type Description
    Boolean

    Properties

    Channel

    Declaration
    public RTCDataChannel Channel { get; protected set; }
    Property Value
    Type Description
    RTCDataChannel
    Implements
    IDataChannel.Channel

    IsConnected

    Declaration
    public bool IsConnected { get; }
    Property Value
    Type Description
    Boolean
    Implements
    IDataChannel.IsConnected

    IsLocal

    Declaration
    public bool IsLocal { get; }
    Property Value
    Type Description
    Boolean
    Implements
    IDataChannel.IsLocal

    Label

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

    OnStartedChannel

    Declaration
    public OnStartedChannelHandler OnStartedChannel { get; set; }
    Property Value
    Type Description
    OnStartedChannelHandler

    OnStoppedChannel

    Declaration
    public OnStoppedChannelHandler OnStoppedChannel { get; set; }
    Property Value
    Type Description
    OnStoppedChannelHandler

    Methods

    OnClose(String)

    Declaration
    protected virtual void OnClose(string connectionId)
    Parameters
    Type Name Description
    String connectionId

    OnMessage(Byte[])

    Declaration
    protected virtual void OnMessage(byte[] bytes)
    Parameters
    Type Name Description
    Byte[] bytes

    OnOpen(String)

    Declaration
    protected virtual void OnOpen(string connectionId)
    Parameters
    Type Name Description
    String connectionId

    Send(Byte[])

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

    Send(String)

    Declaration
    public virtual void Send(string msg)
    Parameters
    Type Name Description
    String msg

    SetChannel(String, RTCDataChannel)

    Declaration
    public virtual void SetChannel(string connectionId, RTCDataChannel channel)
    Parameters
    Type Name Description
    String connectionId
    RTCDataChannel channel
    Implements
    IDataChannel.SetChannel(String, RTCDataChannel)

    SetChannel(SignalingEventData)

    Declaration
    public virtual void SetChannel(SignalingEventData data)
    Parameters
    Type Name Description
    SignalingEventData data
    Implements
    IDataChannel.SetChannel(SignalingEventData)
    In This Article
    • Fields
      • label
      • local
    • Properties
      • Channel
      • IsConnected
      • IsLocal
      • Label
      • OnStartedChannel
      • OnStoppedChannel
    • Methods
      • OnClose(String)
      • OnMessage(Byte[])
      • OnOpen(String)
      • Send(Byte[])
      • Send(String)
      • SetChannel(String, RTCDataChannel)
      • SetChannel(SignalingEventData)
    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on Friday, February 24, 2023
    Terms of use