Show / Hide Table of Contents

    Class HeadsetCalibrationDataRequest

    Data that the editor sends to a HoloLens device during calibration

    Inheritance
    Object
    HeadsetCalibrationDataRequest
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.SpectatorView
    Assembly: cs.temp.dll.dll
    Syntax
    [Serializable]
    public class HeadsetCalibrationDataRequest

    Fields

    timestamp

    The editor application time when this request was created.

    Declaration
    public float timestamp
    Field Value
    Type Description
    Single

    Methods

    Serialize()

    Call to serialize class data into a byte array payload for sending over a network.

    Declaration
    public byte[] Serialize()
    Returns
    Type Description
    Byte[]

    byte array payload

    SerializeAndWrite(BinaryWriter)

    Call to serialize class data into a byte array that is then written to the provided writer.

    Declaration
    public void SerializeAndWrite(BinaryWriter writer)
    Parameters
    Type Name Description
    BinaryWriter writer

    binary writer where serialized data is written

    TryDeserialize(BinaryReader, out HeadsetCalibrationDataRequest)

    Call to read and deserialize a byte array paylod to create a headset calibration data request.

    Declaration
    public static bool TryDeserialize(BinaryReader reader, out HeadsetCalibrationDataRequest request)
    Parameters
    Type Name Description
    BinaryReader reader

    reader for obtaining the byte array to deserialize

    HeadsetCalibrationDataRequest request

    output headset calibration data request

    Returns
    Type Description
    Boolean

    Returns true if the payload was successfully converted to a headset calibration data request, otherwise false.

    TryDeserialize(Byte[], out HeadsetCalibrationDataRequest)

    Call to try and deserialize a byte array paylod to create a headset calibration data request.

    Declaration
    public static bool TryDeserialize(byte[] payload, out HeadsetCalibrationDataRequest request)
    Parameters
    Type Name Description
    Byte[] payload

    byte array to deserialize

    HeadsetCalibrationDataRequest request

    output headset calibration data request

    Returns
    Type Description
    Boolean

    Returns true if the payload was successfully converted to a headset calibration data request, otherwise false.

    In This Article
    • Fields
      • timestamp
    • Methods
      • Serialize()
      • SerializeAndWrite(BinaryWriter)
      • TryDeserialize(BinaryReader, out HeadsetCalibrationDataRequest)
      • TryDeserialize(Byte[], out HeadsetCalibrationDataRequest)
    Back to top Generated by DocFX