toBitmask

fun toBitmask(types: Set<DeviceType>): UInt32(source)

Converts a set of device types into a bitmask value.