We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7c2392 commit f50d4d8Copy full SHA for f50d4d8
samples/HelloWorld/Assets/Snippets/UMPSnippets.cs
@@ -22,6 +22,21 @@ void Start()
22
}
23
// [END request_consent]
24
25
+
26
+ void StartWithSyncIdentifier()
27
+ {
28
+ // [START sync_consent_identifier]
29
+ // Create a ConsentRequestParameters object with a consent sync ID.
30
+ ConsentRequestParameters requestParameters = new ConsentRequestParameters
31
32
+ ConsentSyncId = "CONSENT_SYNC_ID"
33
+ };
34
+ // [END sync_consent_identifier]
35
36
+ // Request an update of the user's consent information.
37
+ ConsentInformation.Update(requestParameters, OnConsentInfoUpdated);
38
+ }
39
40
void OnConsentInfoUpdated(FormError consentError)
41
{
42
if (consentError != null)
0 commit comments