setOptInWhenPushAuthorized

fun setOptInWhenPushAuthorized(enabled: Boolean): <Error class: unknown class>

Sets if Braze should automatically opt-in the user when push is authorized by Android.