GOG GALAXY SDK Documentation
IEncryptedAppTicketListener Class Referenceabstract

Listener for the event of retrieving a requested Encrypted App Ticket. More...

#include <IUser.h>

Inheritance diagram for IEncryptedAppTicketListener:
[legend]

Public Types

enum  FailureReason { FAILURE_REASON_UNDEFINED , FAILURE_REASON_CONNECTION_FAILURE }
 The reason of a failure in retrieving an Encrypted App Ticket. More...
 

Public Member Functions

virtual void OnEncryptedAppTicketRetrieveSuccess ()=0
 Notification for an event of a success in retrieving the Encrypted App Ticket. More...
 
virtual void OnEncryptedAppTicketRetrieveFailure (FailureReason failureReason)=0
 Notification for the event of a failure in retrieving an Encrypted App Ticket. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< ENCRYPTED_APP_TICKET_RETRIEVE >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 

Detailed Description

Listener for the event of retrieving a requested Encrypted App Ticket.

Member Enumeration Documentation

◆ FailureReason

The reason of a failure in retrieving an Encrypted App Ticket.

Enumerator
FAILURE_REASON_UNDEFINED 

Unspecified error.

FAILURE_REASON_CONNECTION_FAILURE 

Unable to communicate with backend services.

Member Function Documentation

◆ OnEncryptedAppTicketRetrieveFailure()

virtual void OnEncryptedAppTicketRetrieveFailure ( FailureReason  failureReason)
pure virtual

Notification for the event of a failure in retrieving an Encrypted App Ticket.

Parameters
[in]failureReasonThe cause of the failure.

◆ OnEncryptedAppTicketRetrieveSuccess()

virtual void OnEncryptedAppTicketRetrieveSuccess ( )
pure virtual

Notification for an event of a success in retrieving the Encrypted App Ticket.

In order to read the Encrypted App Ticket, call IUser::GetEncryptedAppTicket().