示例#1
0
 @Callback
 @BindSelector("playInputClick")
 public static void playInputClick(UIDevice __self__, Selector __cmd__) {
   __self__.playInputClick();
 }
示例#2
0
 @Callback
 @BindSelector("identifierForVendor")
 public static NSUUID getVendorIdentifier(UIDevice __self__, Selector __cmd__) {
   return __self__.getVendorIdentifier();
 }
示例#3
0
 @Callback
 @BindSelector("endGeneratingDeviceOrientationNotifications")
 public static void endGeneratingDeviceOrientationNotifications(
     UIDevice __self__, Selector __cmd__) {
   __self__.endGeneratingDeviceOrientationNotifications();
 }
示例#4
0
 @Callback
 @BindSelector("systemVersion")
 public static String getSystemVersion(UIDevice __self__, Selector __cmd__) {
   return __self__.getSystemVersion();
 }
示例#5
0
 @Callback
 @BindSelector("userInterfaceIdiom")
 public static UIUserInterfaceIdiom getUserInterfaceIdiom(UIDevice __self__, Selector __cmd__) {
   return __self__.getUserInterfaceIdiom();
 }
示例#6
0
 @Callback
 @BindSelector("setProximityMonitoringEnabled:")
 public static void setProximityMonitoringEnabled(
     UIDevice __self__, Selector __cmd__, boolean proximityMonitoringEnabled) {
   __self__.setProximityMonitoringEnabled(proximityMonitoringEnabled);
 }
示例#7
0
 @Callback
 @BindSelector("proximityState")
 public static boolean isProximityState(UIDevice __self__, Selector __cmd__) {
   return __self__.isProximityState();
 }
示例#8
0
 @Callback
 @BindSelector("orientation")
 public static UIDeviceOrientation getOrientation(UIDevice __self__, Selector __cmd__) {
   return __self__.getOrientation();
 }
示例#9
0
 @Callback
 @BindSelector("isProximityMonitoringEnabled")
 public static boolean isProximityMonitoringEnabled(UIDevice __self__, Selector __cmd__) {
   return __self__.isProximityMonitoringEnabled();
 }
示例#10
0
 @Callback
 @BindSelector("isMultitaskingSupported")
 public static boolean isMultitaskingSupported(UIDevice __self__, Selector __cmd__) {
   return __self__.isMultitaskingSupported();
 }
示例#11
0
 @Callback
 @BindSelector("name")
 public static String getName(UIDevice __self__, Selector __cmd__) {
   return __self__.getName();
 }
示例#12
0
 @Callback
 @BindSelector("model")
 public static String getModel(UIDevice __self__, Selector __cmd__) {
   return __self__.getModel();
 }
示例#13
0
 @Callback
 @BindSelector("isGeneratingDeviceOrientationNotifications")
 public static boolean isGeneratesDeviceOrientationNotifications(
     UIDevice __self__, Selector __cmd__) {
   return __self__.isGeneratesDeviceOrientationNotifications();
 }
示例#14
0
 @Callback
 @BindSelector("batteryState")
 public static UIDeviceBatteryState getBatteryState(UIDevice __self__, Selector __cmd__) {
   return __self__.getBatteryState();
 }
示例#15
0
 @Callback
 @BindSelector("setBatteryMonitoringEnabled:")
 public static void setBatteryMonitoringEnabled(
     UIDevice __self__, Selector __cmd__, boolean batteryMonitoringEnabled) {
   __self__.setBatteryMonitoringEnabled(batteryMonitoringEnabled);
 }
示例#16
0
 @Callback
 @BindSelector("batteryLevel")
 public static float getBatteryLevel(UIDevice __self__, Selector __cmd__) {
   return __self__.getBatteryLevel();
 }