docs.unity3d.com
    目次を表示する/隠す

    Class AppleReceiptParser

    This class with parse the Apple receipt data received in byte[] into a AppleReceipt object

    Inheritance
    Object
    AppleReceiptParser
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.Purchasing.Security
    Syntax
    public class AppleReceiptParser

    Methods

    ArrayEquals<T>(T[], T[])

    Indicates whether both arrays are the same or contains the same information.

    This method is used to validate if the receipts are different.

    Declaration
    public static bool ArrayEquals<T>(T[] a, T[] b)
        where T : IEquatable<T>
    Parameters
    Type Name Description
    T[] a

    First object to validate against second object.

    T[] b

    Second object to validate against first object.

    Returns
    Type Description
    Boolean

    Returns true if they are the same length and contain the same information or else returns false.

    Type Parameters
    Name Description
    T

    Type of object to check.

    Parse(Byte[])

    THIS IS A STUB, WILL NOT EXECUTE CODE!

    Parse the Apple receipt data into a AppleReceipt object

    Declaration
    public AppleReceipt Parse(byte[] receiptData)
    Parameters
    Type Name Description
    Byte[] receiptData

    Apple receipt data

    Returns
    Type Description
    AppleReceipt

    The converted AppleReceipt object from the Apple receipt data

    Parse(Byte[])

    THIS IS A STUB, WILL NOT EXECUTE CODE!

    Parse the Apple receipt data into a AppleReceipt object

    Declaration
    public AppleReceipt Parse(byte[] receiptData)
    Parameters
    Type Name Description
    Byte[] receiptData

    Apple receipt data

    Returns
    Type Description
    AppleReceipt

    The converted AppleReceipt object from the Apple receipt data

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)