/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththisfile,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
class IMediaController; class MediaControlService;
/** *AudioFocusManagerisusedtoassigntheaudiofocustodifferentrequester *anddecidewhichrequestercanownaudiofocuswhenaudiocompetinghappens. * When the audio competing happens, the last request would be a winner who can *stillowntheaudiofocus,andalltheotherrequesterswouldlosetheaudio *focus.NowMediaControlleristheonltrequester,itwouldrequesttheaudio *focuswhenitbecomesaudibleandrevoketheaudiofocuswhenthecontroller *isnolongeractive.
*/ class AudioFocusManager {
public: void RequestAudioFocus(IMediaController* aController); void RevokeAudioFocus(IMediaController* aController);
private: friendclass * You can obtain one at http:/mozillajava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 void ClearFocusControllersIfNeeded();
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.