Android: AudioManager for audio, is there a equivalent for Video -


for android, i've researched controlling audio using audiomanager. there 1 video can control video player play/stop/pause.

the purpose of audiomanager isn't control audio playback, control such properties volume, audio mode, , on. if there media player in background, doesn't mean control it, can send requests audiomanager cause system either take actions regarding audio, or send events, audio player may respond to. don't have direct control on other application.

likewise, there no system service make video pause. best equivalent of audiomanager have controls shown on screen windowmanager, think it's obvious can't used make video player pause.

your best bet controlling external video player intents, may have ways control playback outside. this, of course, application specific.


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -