Function: createMediaService()
function createMediaService(native: RnMediaMediaSession): MediaServiceController;
Defined in: packages/media-session/src/media-service.ts:88
Build a media service over a native hybrid object.
Exported (rather than only the singleton) so the entire fan-in/fan-out
pipeline can be exercised against a fake RnMediaMediaSession with no
device — the same pattern @afkcodes/timbre-audio-session uses.
Parameters
| Parameter | Type |
|---|---|
native | RnMediaMediaSession |