docs.unity3d.com
    Show / Hide Table of Contents

    Struct AudioOutputHandle

    A handle type representing an IAudioOutput

    Inherited Members
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.Audio
    Syntax
    public struct AudioOutputHandle : IDisposable, IHandle<AudioOutputHandle>

    Properties

    Valid

    Whether this handle is valid

    Declaration
    public readonly bool Valid { get; }
    Property Value
    Type Description
    Boolean

    Methods

    Dispose()

    Disposes the native output hook within Unity

    Declaration
    public void Dispose()
    Implements
    IDisposable.Dispose()

    Equals(Object)

    Whether this is the same handle as another instance

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj

    The other instance to compare

    Returns
    Type Description
    Boolean
    Overrides
    ValueType.Equals(Object)

    Equals(AudioOutputHandle)

    Whether this is the same handle as another instance

    Declaration
    public bool Equals(AudioOutputHandle other)
    Parameters
    Type Name Description
    AudioOutputHandle other

    The other instance to compare

    Returns
    Type Description
    Boolean

    GetHashCode()

    Returns a unique hash code for this handle

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()
    Back to top
    Terms of use
    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