Contents

sessions()

Returns all registered remote sessions.

Declaration

@MainActor static func sessions() async throws -> [RemoteMediaSession<Attributes>]

Return Value

An array of all remote sessions currently registered with the system.

Discussion