WebAPI/Inter App Communication Alt proposal: Difference between revisions

m
Line 91: Line 91:
   };
   };


== Connection ==
== InterAppConnection ==
A ''Connection'' object represents a connection between two apps through an specific keyword.
A ''InterAppConnection'' object represents a connection between two apps through an specific keyword.


  interface Connection {
  interface InterAppConnection {
   readonly attribute DOMString keyword;
   readonly attribute DOMString keyword;
   readonly attribute DOMString publisher;
   readonly attribute DOMString publisher;
Line 101: Line 101:
  };
  };


''Connection'' objects will be obtained within a resolved ''Promise'' returned by a ''getConnections()'' call. This function is likely going to be called by a settings application that intends to show the user a list of existing connections, allowing her to cancel them if needed.
''InterAppConnection'' objects will be obtained within a resolved ''Promise'' returned by a ''getConnections()'' call. This function is likely going to be called by a settings application that intends to show the user a list of existing connections, allowing her to cancel them if needed.


= Defer mechanism =
= Defer mechanism =
Confirmed users
110

edits