class ConsentDelegate
Delegate for consent related operations. This delegate is implemented by a client application to know when a consent request notification should be displayed to the user.
Summary
Members | Descriptions |
---|---|
public Consent GetUserConsent(const std::string& url) | Called when SDK requires user consent to connect to a service endpoint. |
Members
GetUserConsent function
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. 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.
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho