Adding square brackets handling for arrays; Adding more policy files
[iot2.git] / config / iotpolicy / camerapolicy.pol
1 public interface Camera {
2
3     public void MethodA(int A, int B);
4     public void MethodA(int A, int B, int AB);
5     public int MethodB(int C, String D[]);
6     public String MethodC(String E, Map<String,Integer> F);
7     public float MethodD(Set<String> G, float H);
8     public boolean MethodE(String I, boolean J);
9         public void MethodF(int K);
10
11         capability ImageCapture {
12                 description = "The quick brown fox jumps over the smart dog";
13                 description = "Another description";
14                 method = "MethodA(int A, int B)";
15                 method = "MethodB(int C, String D[])";
16                 method = "MethodC(String E, Map<String,Integer> F)";
17         }
18
19         capability VideoRecording {
20                 description = "The quick brown fox jumps over the cool dog";
21                 method = "MethodA(int A, int B)";
22                 method = "MethodA(int A, int B, int AB)";
23                 method = "MethodD(Set<String> G, float H)";
24         }
25
26         capability BackupData {
27                 description = "The quick brown fox jumps over the clever dog";
28                 method = "MethodE(String I, boolean J)";
29         }
30 }
31
32