WebAPI/Inter App Communication Alt proposal: Difference between revisions

Jump to navigation Jump to search
Line 278: Line 278:
     Promise publish(DOMString keyword, object rules);
     Promise publish(DOMString keyword, object rules);
    
    
     Promise subcriptionsRegistered(DOMString keyword);
     Promise subcriptionsRegistered();  
   
    Promise getSubcriptionMessages(DOMString keyword);
   };
   };
* Do we want to expose app access level as a enum, so the developer can do something like
* Do we want to expose app access level as a enum, so the developer can do something like
  if (connectionRequest.callerInfo.accessLevel <= PRIVILEGED) { //whatever }
  if (connectionRequest.callerInfo.accessLevel <= PRIVILEGED) { //whatever }
* It would be great if apps could also filter by install origin, but certified apps has not a clear install origin.
 
* We might want to have a bigger set of types to allow apps to connect (web, installed, signed, privileged, certified).
* We might want to have a bigger set of types to allow apps to connect (web, installed, signed, privileged, certified).
Confirmed users
483

edits

Navigation menu