Skip to content

Commit 4c6bd71

Browse files
authored
Update README.md
1 parent 53a3b4f commit 4c6bd71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Construct `List<SpCampaign>` which contains `SpCampaign` objects. Each `SpCampai
3333
spCampaigns.Add(ios14);
3434
```
3535

36-
In order to instantiate & trigger `Consent Message Web View`, you must call the `CMP.Initialize` function in `Awake` along with `spCampaigns`, `accountId`, `propertyName` and `language`.<br/> <br/>Additionally, you can also specify a `messageTimeout` which, by default, is set to **3 seconds**.
36+
In order to instantiate & trigger `Consent Message Web View`, you must call the `CMP.Initialize` function in `Awake` along with `spCampaigns`, `accountId`, `propertyName` and `language`.<br/> <br/>Additionally, you can also specify a `messageTimeout` which, by default, is set to **30 seconds**.
3737

3838
```c#
3939
CMP.Initialize(spCampaigns: spCampaigns,
@@ -46,7 +46,7 @@ In order to instantiate & trigger `Consent Message Web View`, you must call the
4646

4747
> **Note**: It may take a frame to initialize the CMP library, so we strongly recommend that you `Initialize` in `Awake` separately from `LoadMessage`. We recommend that you `LoadMessage` in `Start` (see example below).
4848
49-
Right after the `LoadMessage` call, the SDK will construct the Web View for the end-user. <br/><br/> If there is a consent profile associated with `authId`, the SDK will bring the consent data from the server, overwriting whatever was stored in the device.
49+
When the SDK receives the `LoadMessage` call, it will instantiate a webview if the end-user needs to see a message. <br/><br/> If there is a consent profile associated with `authId`, the SDK will bring the consent data from the server, overwriting whatever was stored in the device.
5050

5151
```c#
5252
private void Start()

0 commit comments

Comments
 (0)