rememberConsent

Composable function to remember and manage user consent for ads.

This function creates and remembers a Consent object, which handles interactions with the Google User Messaging Platform (UMP) SDK to obtain and manage user consent for personalized advertising.

It initializes the consent state and checks if privacy options are required and if ads can be requested.

Return

A MutableState holding the Consent object. This allows observing and reacting to changes in the consent status within your Composable UI.

See also


Composable function to remember and manage user consent for ads.

This function creates and remembers a Consent object, which handles interactions with the Google User Messaging Platform (UMP) SDK to obtain and manage user consent for personalized advertising.

It initializes the consent state and checks if privacy options are required and if ads can be requested.

Return

A MutableState holding the Consent object. This allows observing and reacting to changes in the consent status within your Composable UI.

Parameters

requestParameters

The ConsentRequestParameters to use for consent requests.

See also


Composable function to remember and manage user consent for ads.

This function creates and remembers a Consent object, which handles interactions with the Google User Messaging Platform (UMP) SDK to obtain and manage user consent for personalized advertising.

It initializes the consent state and checks if privacy options are required and if ads can be requested.

Return

A MutableState holding the Consent object. This allows observing and reacting to changes in the consent status within your Composable UI.

Parameters

debugSettings

The ConsentDebugSettings to use for debugging purposes.

See also

Composable function to remember and manage user consent for ads.

This function creates and remembers a Consent object, which handles interactions with the Google User Messaging Platform (UMP) SDK to obtain and manage user consent for personalized advertising.

It initializes the consent state and checks if privacy options are required and if ads can be requested.

Return

A MutableState holding the Consent object. This allows observing and reacting to changes in the consent status within your Composable UI.

See also


Composable function to remember and manage user consent for ads.

This function creates and remembers a Consent object, which handles interactions with the Google User Messaging Platform (UMP) SDK to obtain and manage user consent for personalized advertising.

It initializes the consent state and checks if privacy options are required and if ads can be requested.

Return

A MutableState holding the Consent object. This allows observing and reacting to changes in the consent status within your Composable UI.

Parameters

requestParameters

The ConsentRequestParameters to use for consent requests.

See also


Composable function to remember and manage user consent for ads.

This function creates and remembers a Consent object, which handles interactions with the Google User Messaging Platform (UMP) SDK to obtain and manage user consent for personalized advertising.

It initializes the consent state and checks if privacy options are required and if ads can be requested.

Return

A MutableState holding the Consent object. This allows observing and reacting to changes in the consent status within your Composable UI.

Parameters

debugSettings

The ConsentDebugSettings to use for debugging purposes.

See also

Composable function to remember and manage user consent for ads.

This function creates and remembers a Consent object, which handles interactions with the Google User Messaging Platform (UMP) SDK to obtain and manage user consent for personalized advertising.

It initializes the consent state and checks if privacy options are required and if ads can be requested.

Return

A MutableState holding the Consent object. This allows observing and reacting to changes in the consent status within your Composable UI.

See also

DependsOnGoogleUserMessagingPlatform

Composable function to remember and manage user consent for ads.

This function creates and remembers a Consent object, which handles interactions with the Google User Messaging Platform (UMP) SDK to obtain and manage user consent for personalized advertising.

It initializes the consent state and checks if privacy options are required and if ads can be requested.

Return

A MutableState holding the Consent object. This allows observing and reacting to changes in the consent status within your Composable UI.

Parameters

requestParameters

The ConsentRequestParameters to use for consent requests.

See also

DependsOnGoogleUserMessagingPlatform

Composable function to remember and manage user consent for ads.

This function creates and remembers a Consent object, which handles interactions with the Google User Messaging Platform (UMP) SDK to obtain and manage user consent for personalized advertising.

It initializes the consent state and checks if privacy options are required and if ads can be requested.

Return

A MutableState holding the Consent object. This allows observing and reacting to changes in the consent status within your Composable UI.

Parameters

debugSettings

The ConsentDebugSettings to use for debugging purposes.

See also

DependsOnGoogleUserMessagingPlatform