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.
Inherited Members
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? |