LocalNetworkPermissionGate

Keeps Android-version policy outside the transport so it can be tested without framework APIs.

Properties

Link copied to clipboard
const val PERMISSION: String

Functions

Link copied to clipboard
fun evaluate(bindingMode: BindingMode, deviceApi: Int, targetSdk: Int, isGranted: Boolean): LocalNetworkPermissionDecision

targetSdk is deliberately not consulted.