コード例 #1
0
        void HandleCompletedSubmitResponse(UnityWebRequest completedRequest)
        {
            GooglePlayRevenueTrackingKeyState keyState;

            if (completedRequest.IsResultTransferSuccess())
            {
                keyState = GooglePlayRevenueTrackingKeyState.Verified;
            }
            else if (completedRequest.IsResultProtocolError())
            {
                keyState = InterpretKeyStateFromProtocolError(completedRequest.responseCode);
            }
            else
            {
                keyState = GooglePlayRevenueTrackingKeyState.InvalidFormat;
            }

            m_SetGooglePlayKeyCallback(keyState);
        }