docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ContextSizeResponse

    An object returned from Context.IsSizeBetween. The answer field is true if the current context size is between the minSize and maxSize values that are specified in the object, and false otherwise.

    Inheritance
    object
    JsObject
    ContextSizeResponse
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Meta.InstantGames.v8
    Assembly: Unity.Meta.InstantGames.Sdk.v8.dll
    Syntax
    public class ContextSizeResponse : JsObject

    Constructors

    ContextSizeResponse()

    Construct an instance of ContextSizeResponse

    Declaration
    public ContextSizeResponse()

    Properties

    Answer

    True if the current context size is between the minSize and maxSize values that are specified in the object, and false otherwise.

    Declaration
    public bool Answer { get; }
    Property Value
    Type Description
    bool

    MaxSize

    The maximum bound of the context size query.

    Declaration
    public double? MaxSize { get; }
    Property Value
    Type Description
    double?

    MinSize

    The minimum bound of the context size query.

    Declaration
    public double? MinSize { get; }
    Property Value
    Type Description
    double?
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)