OLD | NEW |
| (Empty) |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 module arc; | |
6 | |
7 interface SettingsInstance { | |
8 // Send an Android broadcast message to the Android package and class | |
9 // specified. Data can be sent as extras by including a JSON map string which | |
10 // will be automatically converted to a bundle accessible by the receiver. | |
11 // | |
12 // Note: Broadcasts can only be sent to whitelisted packages. Packages can be | |
13 // added to the whitelist in ArcBridgeService.java in the Android source. | |
14 SendBroadcast(string action, | |
15 string package, | |
16 string cls, | |
17 string extras); | |
18 }; | |
19 | |
OLD | NEW |