unpackChannelsFromBitmask
Unpacks semantic channels from a packed channel bitmask. This converts a bitmask value (where each bit represents a semantic channel) into an EnumSet of SemanticsChannel enum values representing the channels present in the bitmask.
Declaration
fun unpackChannelsFromBitmask(bitmask: Int): EnumSet<SemanticsChannel>
Summary
Returns
EnumSet of SemanticsChannel values present in the bitmask
Unpacks semantic channels from a packed channel bitmask. This converts a bitmask value (where each bit represents a semantic channel) into an EnumSet of SemanticsChannel enum values representing the channels present in the bitmask.