Contents

RemoteMediaSessionAttributes

A type that represents attributes for remote sessions.

Declaration

protocol RemoteMediaSessionAttributes : Decodable, Encodable

Mentioned in

Overview

Conform to this protocol to define the data that configures your remote sessions. Attributes identify sessions and communicate session state between your app and extension. The attributes must be encodable for transmission and uniquely identifiable.

Your host app’s RemoteMediaSession and your RemoteMediaSessionExtension share the same attributes type: the host encodes it when starting or updating a session, and the extension decodes it to create or refresh a session.

Topics

Instance Properties

See Also

Remote sessions