routeSymbolName
The SF Symbol name representing the remote device or route.
Declaration
final var routeSymbolName: String { get }Mentioned in
Discussion
This property returns a system symbol name as a String that identifies the type of device (such as a TV, speaker, or other compatible endpoint). Use this value with Image(systemName:) to create an icon for display in your app’s user interface.
let routeIcon = Image(systemName: route.routeSymbolName)The symbol helps people visually identify where their media will be played.