Skip to main content
API Reference SwiftyNsdk

SemanticsChannels

A set of semantic channels represented as a bitmask....

Declaration

struct SemanticsChannels

Summary

A set of semantic channels represented as a bitmask. This OptionSet allows for efficient bitwise operations on channel sets.


Constructors

Constructor

init(channelNames: Set<SemanticsChannelName>)

Summary

Create a SemanticsChannels OptionSet from a Set of SemanticsChannelName values


Overload

init(rawValue: UInt32)

Properties

NameTypeSummary
let rawValueUInt32
-

Methods

NameTypeSummary
containsBool
Check if a specific channel is present in this set
- Parameter channel: The channel to check for
- Returns: true if the channel is present, false otherwise
toChannelNamesSet<SemanticsChannelName>
Convert the bitmask to a Set of SemanticsChannelName values