Delegate for consent related operations.
More...
#include <mip/common_types.h>
|
| virtual Consent | GetUserConsent (const std::string &url)=0 |
| | Called when SDK requires user consent to connect to a service endpoint.
|
| |
| virtual | ~ConsentDelegate () |
| |
Delegate for consent related operations.
- Note
- This delegate is implemented by a client application to know when a consent request notification should be displayed to the user.
◆ ~ConsentDelegate()
| virtual ConsentDelegate::~ConsentDelegate |
( |
| ) |
|
|
inlinevirtual |
◆ ConsentDelegate()
| ConsentDelegate::ConsentDelegate |
( |
| ) |
|
|
inlineprotected |
◆ GetUserConsent()
| virtual Consent ConsentDelegate::GetUserConsent |
( |
const std::string & | url | ) |
|
|
pure virtual |
Called when SDK requires user consent to connect to a service endpoint.
- Parameters
-
| url | The URL for which the SDK requires user consent |
- Returns
- a Consent enum with the user's decision.
- Note
- When the SDK requests user consent with this method, the client application should present the URL to the user. Client applications should provide some means of obtaining user consent and return the appropriate Consent enum that corresponds to the user's decision.
The documentation for this class was generated from the following file:
- src/api/mip/common_types.h