1 package com.android.onboarding.contracts.annotations
2 
3 /**
4  * An opt-in annotation intended to force explicit enrollment into usage of the discouraged APIs
5  *
6  * @property recommendation a message explaining which APIs should be used instead
7  */
8 @RequiresOptIn(
9   message =
10     "Marked API is only meant as a temporary workaround for legacy consumers " +
11       "that cannot immediately use the recommended onboarding APIs " +
12       "and as such demands an explicit opt-in"
13 )
14 annotation class DiscouragedOnboardingApi(val recommendation: String)
15