MediaInformationSessionCompleteCallback typedef

MediaInformationSessionCompleteCallback = void Function(MediaInformationSession session)

Callback function that is invoked when an asynchronous MediaInformation session has ended. Session has either SessionState.completed or SessionState.failed state when the callback is invoked. If it has SessionState.completed state, "ReturnCode" should be checked to see the execution result. If "getState" returns SessionState.failed then "getFailStackTrace" should be used to get the failure reason.

Implementation

typedef MediaInformationSessionCompleteCallback = void Function(
    MediaInformationSession session);