예제 #1
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;
 }
예제 #2
0
 /** @since Available in iOS 8.0 and later. */
 public CIContextOptions setRequestsLowPriority(boolean requestsLowPriority) {
   set(Keys.PriorityRequestLow(), NSNumber.valueOf(requestsLowPriority));
   return this;
 }