diff --git a/jni-example/decodesdk/src/net/irext/decode/sdk/IRDecode.java b/jni-example/decodesdk/src/net/irext/decode/sdk/IRDecode.java index d94e613..1bfb76e 100644 --- a/jni-example/decodesdk/src/net/irext/decode/sdk/IRDecode.java +++ b/jni-example/decodesdk/src/net/irext/decode/sdk/IRDecode.java @@ -37,6 +37,8 @@ public class IRDecode { private native int irACGetSupportedSwing(int acMode); + private native int irACGetSupportedWindDirection(int acMode); + private static IRDecode mInstance; public static IRDecode getInstance() { @@ -114,6 +116,11 @@ public class IRDecode { return retSupportedSwing; } + public int getACSupportedWindDirection(int acMode) { + // how many directions supported by specific AC + return irACGetSupportedWindDirection(acMode); + } + public static void main(String[] args) { int ret = 0; System.out.println("This is IR decode test");