From 0fb7c4530f9fa8bae2852a3c2163d8dc02088b8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Katzer?= Date: Mon, 1 Aug 2016 17:00:51 +0200 Subject: [PATCH] Added getId --- src/android/ext/PrintServiceInfo.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/android/ext/PrintServiceInfo.java b/src/android/ext/PrintServiceInfo.java index be57764..a32f7f3 100644 --- a/src/android/ext/PrintServiceInfo.java +++ b/src/android/ext/PrintServiceInfo.java @@ -42,6 +42,15 @@ public final class PrintServiceInfo { obj = wrappedObj; } + /** + * The accessibility service id. + * + * @return @return The id. + */ + public final String getId() { + return (String) Meta.invokeMethod(obj, "getId"); + } + /** * The add printers activity name. *