static exportProperties_(providerManager) {
    // Cast to {!Object} so the compiler doesn't complain about accessing fields
    // using subscript notation.
    const obj = /** @type {!Object} */ (providerManager);
    obj['onBeforeInvokeHandler'] = providerManager.onBeforeInvokeHandler;
    obj['createRoute'] = providerManager.createRoute;
    obj['joinRoute'] = providerManager.joinRoute;
    obj['connectRouteByRouteId'] = providerManager.connectRouteByRouteId;
    obj['terminateRoute'] = providerManager.terminateRoute;
    obj['startObservingMediaSinks'] = providerManager.startObservingMediaSinks;
    obj['stopObservingMediaSinks'] = providerManager.stopObservingMediaSinks;
    obj['sendRouteMessage'] = providerManager.sendRouteMessage;
    obj['sendRouteBinaryMessage'] = providerManager.sendRouteBinaryMessage;
    obj['startListeningForRouteMessages'] =
        providerManager.startListeningForRouteMessages;
    obj['stopListeningForRouteMessages'] =
        providerManager.stopListeningForRouteMessages;
    obj['startObservingMediaRoutes'] =
        providerManager.startObservingMediaRoutes;
    obj['stopObservingMediaRoutes'] = providerManager.stopObservingMediaRoutes;
    obj['detachRoute'] = providerManager.detachRoute;
    obj['enableMdnsDiscovery'] = providerManager.enableMdnsDiscovery;
    obj['searchSinks'] = providerManager.searchSinks;
    obj['provideSinks'] = providerManager.provideSinks;
    obj['updateMediaSinks'] = providerManager.updateMediaSinks;
    obj['createMediaRouteController'] =
        providerManager.createMediaRouteController;
  }
/**
   * Exports methods for Mojo handler.
   * @param {!mr.ProviderManager} providerManager
   * @private
   */
Exports methods for Mojo handler.
Exports methods for Mojo handler .
static exportProperties_(providerManager) {
    const obj =  (providerManager);
    obj['onBeforeInvokeHandler'] = providerManager.onBeforeInvokeHandler;
    obj['createRoute'] = providerManager.createRoute;
    obj['joinRoute'] = providerManager.joinRoute;
    obj['connectRouteByRouteId'] = providerManager.connectRouteByRouteId;
    obj['terminateRoute'] = providerManager.terminateRoute;
    obj['startObservingMediaSinks'] = providerManager.startObservingMediaSinks;
    obj['stopObservingMediaSinks'] = providerManager.stopObservingMediaSinks;
    obj['sendRouteMessage'] = providerManager.sendRouteMessage;
    obj['sendRouteBinaryMessage'] = providerManager.sendRouteBinaryMessage;
    obj['startListeningForRouteMessages'] =
        providerManager.startListeningForRouteMessages;
    obj['stopListeningForRouteMessages'] =
        providerManager.stopListeningForRouteMessages;
    obj['startObservingMediaRoutes'] =
        providerManager.startObservingMediaRoutes;
    obj['stopObservingMediaRoutes'] = providerManager.stopObservingMediaRoutes;
    obj['detachRoute'] = providerManager.detachRoute;
    obj['enableMdnsDiscovery'] = providerManager.enableMdnsDiscovery;
    obj['searchSinks'] = providerManager.searchSinks;
    obj['provideSinks'] = providerManager.provideSinks;
    obj['updateMediaSinks'] = providerManager.updateMediaSinks;
    obj['createMediaRouteController'] =
        providerManager.createMediaRouteController;
  }
static exportProperties_ ( providerManager ) { const obj = ( providerManager ) ; obj [ 'onBeforeInvokeHandler' ] = providerManager . onBeforeInvokeHandler ; obj [ 'createRoute' ] = providerManager . createRoute ; obj [ 'joinRoute' ] = providerManager . joinRoute ; obj [ 'connectRouteByRouteId' ] = providerManager . connectRouteByRouteId ; obj [ 'terminateRoute' ] = providerManager . terminateRoute ; obj [ 'startObservingMediaSinks' ] = providerManager . startObservingMediaSinks ; obj [ 'stopObservingMediaSinks' ] = providerManager . stopObservingMediaSinks ; obj [ 'sendRouteMessage' ] = providerManager . sendRouteMessage ; obj [ 'sendRouteBinaryMessage' ] = providerManager . sendRouteBinaryMessage ; obj [ 'startListeningForRouteMessages' ] = providerManager . startListeningForRouteMessages ; obj [ 'stopListeningForRouteMessages' ] = providerManager . stopListeningForRouteMessages ; obj [ 'startObservingMediaRoutes' ] = providerManager . startObservingMediaRoutes ; obj [ 'stopObservingMediaRoutes' ] = providerManager . stopObservingMediaRoutes ; obj [ 'detachRoute' ] = providerManager . detachRoute ; obj [ 'enableMdnsDiscovery' ] = providerManager . enableMdnsDiscovery ; obj [ 'searchSinks' ] = providerManager . searchSinks ; obj [ 'provideSinks' ] = providerManager . provideSinks ; obj [ 'updateMediaSinks' ] = providerManager . updateMediaSinks ; obj [ 'createMediaRouteController' ] = providerManager . createMediaRouteController ; }
Exports methods for Mojo handler.
Exports methods for Mojo handler .
// Cast to {!Object} so the compiler doesn't complain about accessing fields // using subscript notation. /** @type {!Object} */