remember Consent
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
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
The ConsentDebugSettings to use for debugging purposes.
See also
Deprecated
The `activity` argument is no longer required as of v1.1.0-beta01
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
The current Activity context. This is crucial for the UMP SDK to function correctly. It's recommended to pass the result of LocalContext.current as? Activity.
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
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
The ConsentDebugSettings to use for debugging purposes.
See also
Deprecated
The `activity` argument is no longer required as of v1.1.0-beta01
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
The current Activity context. This is crucial for the UMP SDK to function correctly. It's recommended to pass the result of LocalContext.current as? Activity.
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
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
The ConsentDebugSettings to use for debugging purposes.
See also
Deprecated
The `activity` argument is no longer required as of v1.1.0-beta01
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
The current Activity context. This is crucial for the UMP SDK to function correctly. It's recommended to pass the result of LocalContext.current as? Activity.