C# Class Ouya.Console.Api.ReceiptsListener

Inheritance: global::Java.Lang.Object, IOuyaResponseListener
Mostra file Open project: KonajuGames/ouya-csharp Class Usage Examples

Public Methods

Method Description
OnCancel ( ) : void
OnFailure ( int errorCode, string errorMessage, Bundle optionalData ) : void
OnSuccess ( global result ) : void
ReceiptsListener ( TaskCompletionSource tcs, IPublicKey publicKey, string gamerUuid ) : System

Private Methods

Method Description
FromCache ( string gamerUuid ) : IList
ReceiptsFromResponse ( string receiptsResponse, IPublicKey publicKey ) : IList
ToCache ( IList receipts, string gamerUuid ) : void

Method Details

OnCancel() public method

public OnCancel ( ) : void
return void

OnFailure() public method

public OnFailure ( int errorCode, string errorMessage, Bundle optionalData ) : void
errorCode int
errorMessage string
optionalData Bundle
return void

OnSuccess() public method

public OnSuccess ( global result ) : void
result global
return void

ReceiptsListener() public method

public ReceiptsListener ( TaskCompletionSource tcs, IPublicKey publicKey, string gamerUuid ) : System
tcs TaskCompletionSource
publicKey IPublicKey
gamerUuid string
return System