Пример #1
0
 public boolean usesSoftwareRenderer() {
   if (has(Keys.UseSoftwareRenderer())) {
     NSNumber val = (NSNumber) get(Keys.UseSoftwareRenderer());
     return val.booleanValue();
   }
   return false;
 }
Пример #2
0
 /** @since Available in iOS 8.0 and later. */
 public boolean requestsLowPriority() {
   if (has(Keys.PriorityRequestLow())) {
     NSNumber val = (NSNumber) get(Keys.PriorityRequestLow());
     return val.booleanValue();
   }
   return false;
 }
Пример #3
0
 /** @since Available in iOS 6.0 and later. */
 public boolean isTracking() {
   if (has(Keys.Tracking())) {
     NSNumber val = (NSNumber) get(Keys.Tracking());
     return val.booleanValue();
   }
   return false;
 }
 /** @since Available in iOS 7.0 and later. */
 public boolean isExpired() {
   if (data.containsKey(IsExpiredKey())) {
     NSNumber val = (NSNumber) data.get(IsExpiredKey());
     return val.booleanValue();
   }
   return false;
 }
 /** @since Available in iOS 7.0 and later. */
 public boolean isVolumePurchase() {
   if (data.containsKey(IsVolumePurchaseKey())) {
     NSNumber val = (NSNumber) data.get(IsVolumePurchaseKey());
     return val.booleanValue();
   }
   return false;
 }
 /** @since Available in iOS 7.0 and later. */
 public boolean showsPowerAlert() {
   if (has(Keys.ShowPowerAlert())) {
     NSNumber val = (NSNumber) get(Keys.ShowPowerAlert());
     return val.booleanValue();
   }
   return false;
 }
Пример #7
0
 /** @since Available in iOS 7.0 and later. */
 public boolean allowsFrameReordering() {
   if (has(Keys.AllowFrameReordering())) {
     NSNumber val = (NSNumber) get(Keys.AllowFrameReordering());
     return val.booleanValue();
   }
   return false;
 }