Connectivity
public struct Connectivity : Hashable
A struct that provides information about link id and accessibility.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
-
Link ID
Declaration
Swift
@available(*, deprecated, message: "Will be removed in v4.30.0. Use `directed_local_segment_id` instead.") public var directedSegmentId: DirectedOCMSegmentId -
Local link ID.
Declaration
Swift
public var directedLocalSegmentId: DirectedLocalSegmentId -
The list of transport types which have access
Declaration
Swift
public var access: [TransportType] -
Creates a new instance.
Declaration
Swift
public init(directedLocalSegmentId: DirectedLocalSegmentId = DirectedLocalSegmentId(), access: [TransportType]) -
Creates a new instance.
Declaration
Swift
@available(*, deprecated) public init(directedSegmentId: DirectedOCMSegmentId = DirectedOCMSegmentId(), directedLocalSegmentId: DirectedLocalSegmentId = DirectedLocalSegmentId(), access: [TransportType])