createDisclaimerActivityResultContract

Create a new ActivityResultContract for showing the Luscii disclaimer, which must be accepted before using other features of the Luscii SDK. Only newly registered users have to do this.

Because the input is opaque, use the extension method launch to show the disclaimer.

When launching the activity using the contract, UnauthenticatedException will be thrown if not authenticated.

If the user has already accepted the disclaimer, no activity will show and DisclaimerResult.Accepted will be returned.

See Get result from an activity on how to use an ActivityResultContract.