Adding Java callback support in compiler
[iot2.git] / config / iotpolicy / camerapolicy.pol
index 0afb5a05795462b5bc6b48ebb196cf3a9d9b335c..809f12dcf6f76e35d5de8f5c9fd3355c7c489bda 100644 (file)
@@ -6,6 +6,7 @@ public interface Camera {
     public String MethodC(String E, List<Integer> F);
     public float MethodD(List<String> G, float H);
     public boolean MethodE(String I, boolean J);
+       public void MethodF(LightBulb K);
 
        capability ImageCapture {
                description = "The quick brown fox jumps over the smart dog";
@@ -13,6 +14,7 @@ public interface Camera {
                method = "MethodA(int A, int B)";
                method = "MethodB(int C, String D[])";
                method = "MethodC(String E, List<Integer> F)";
+               method = "MethodF(LightBulb K)";
        }
 
        capability VideoRecording {