toInt

fun toInt(permissions: List<BleGattPermission>): Int

Decodes permissions into single Int value.

Return

Single Int value representing all the permissions.

Parameters

permissions

List of permissions to be encoded.