Contents

receiveData(_:fromApplication:session:)

Delivers data received from a remote application to the system for processing.

Declaration

@MainActor final func receiveData(_ data: Data, fromApplication applicationIdentifier: String, session: MediaOutputSession)

Parameters

  • data:

    The data received from the remote application.

  • applicationIdentifier:

    The identifier of the application that sent the data.

  • session:

    The session associated with the received data.

Discussion

Call this function when data has been received from a remote application.