https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 65baa7add9fb515f95b0e6404616de76537b1757 authored by ffxbld on 17 January 2017, 12:37:08 UTC
Added FENNEC_51_0_RELEASE FENNEC_51_0_BUILD1 tag(s) for changeset 792e280b5c36. DONTBUILD CLOSED TREE a=release
Tip revision: 65baa7a
nsITVSimulatorService.idl
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "nsISupports.idl"
#include "nsITVService.idl"

interface mozIDOMWindow;

%{C++
#define TV_SIMULATOR_SERVICE_CONTRACTID\
  "@mozilla.org/tv/simulatorservice;1"
%}

[scriptable, uuid(3f670994-5915-415a-b906-7ead54bb3be1)]
interface nsITVSimulatorService : nsITVService
{
  /*
   * Get the URL of simulated video blob.
   *
   * @param tunerId       The ID of the tuner.
   * @param sourceType    The source type to be used.
   * @param channelNumber The LCN (Logical Channel Number) of the channel.
   * @param window        The window object of content.
   * @return blobUrl      The URL of created blob from local video file.
   */
  void getSimulatorVideoBlobURL(in DOMString tunerId,
                                in DOMString sourceType,
                                in DOMString channelNumber,
                                in mozIDOMWindow window,
                                [retval] out DOMString blobUrl);
};
back to top