sourceFilter
TypeScriptget sourceFilter(): (NWEndpoint) | nullSwift declarationfinal let sourceFilter: NWEndpoint?A source filter to use for Source-Specific Multicast.
class · iOS 14.0+ · SDK 27.1
class NWMulticastGroupA `NWMulticastGroup` is a specific type of `NWGroupDescriptor` that can be used to create an `NWConnectionGroup` that joins multicast groups.
get sourceFilter(): (NWEndpoint) | nullSwift declarationfinal let sourceFilter: NWEndpoint?A source filter to use for Source-Specific Multicast.
get isUnicastDisabled(): booleanSwift declarationfinal let isUnicastDisabled: BoolA boolean to indicate whether or not unicast traffic sent to the local port should be allowed.
static init(groupAddresses: Array<NWEndpoint>, from?: (NWEndpoint) | null, disableUnicast?: boolean): NWMulticastGroupSwift declarationinit(for groupAddresses: [NWEndpoint], from: NWEndpoint? = nil, disableUnicast: Bool = false) throwsCreate a `NWMulticastGroup` with an array of IP address endpoints containing multicast groups to join. The port specified in the endpoints will be used as the local port to join. Optionally specify a source address to filter communication from, and whether or not to allow unicast traffic. `disableUnicast` defaults to false.
get members(): Array<NWEndpoint>Swift declarationvar members: [NWEndpoint] { get }An array of IP address endpoints containing the multicast group addresses that will be joined.
No declarations were skipped in this snapshot.