docs.unity3d.com
    Show / Hide Table of Contents

    Class PaginationOptions

    Query parameters for pagination service requests.

    Inheritance
    Object
    PaginationOptions
    Namespace: Unity.Services.Friends.Options
    Syntax
    public class PaginationOptions : IOptions

    Properties

    Limit

    Maximum records to return per pagination. The default value is 25.

    Declaration
    public int Limit { get; set; }
    Property Value
    Type Description
    Int32

    Offset

    Maximum offset for pagination. The default value is 0.

    Declaration
    public int Offset { get; set; }
    Property Value
    Type Description
    Int32

    Methods

    ErrorMessage()

    Returns an error message indicating why the option is invalid.

    Declaration
    public string ErrorMessage()
    Returns
    Type Description
    String

    String representation of why the error is invalid

    Implements
    IOptions.ErrorMessage()

    IsValid()

    Check if the option is valid.

    Declaration
    public bool IsValid()
    Returns
    Type Description
    Boolean

    Returns true when the options is valid. False otherwise.

    Implements
    IOptions.IsValid()
    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