Ejemplo n.º 1
0
 public CIContextOptions setUsesSoftwareRenderer(boolean usesSoftwareRenderer) {
   set(Keys.UseSoftwareRenderer(), NSNumber.valueOf(usesSoftwareRenderer));
   return this;
 }
Ejemplo n.º 2
0
 /** @since Available in iOS 8.0 and later. */
 public CIContextOptions setRequestsLowPriority(boolean requestsLowPriority) {
   set(Keys.PriorityRequestLow(), NSNumber.valueOf(requestsLowPriority));
   return this;
 }
Ejemplo n.º 3
0
 /** @since Available in iOS 6.0 and later. */
 public CIDetectorOptions setMinFeatureSize(double minFeatureSize) {
   set(Keys.MinFeatureSize(), NSNumber.valueOf(minFeatureSize));
   return this;
 }
Ejemplo n.º 4
0
 /** @since Available in iOS 8.0 and later. */
 public CIContextOptions setWorkingFormat(CIFormat workingFormat) {
   set(Keys.WorkingFormat(), NSNumber.valueOf(workingFormat.value()));
   return this;
 }
 /** @since Available in iOS 7.0 and later. */
 public SKReceiptRefreshRequestOptions setVolumePurchase(boolean volumePurchase) {
   data.put(IsVolumePurchaseKey(), NSNumber.valueOf(volumePurchase));
   return this;
 }
Ejemplo n.º 6
0
 /** @since Available in iOS 6.0 and later. */
 public CIDetectorOptions setTracking(boolean tracking) {
   set(Keys.Tracking(), NSNumber.valueOf(tracking));
   return this;
 }
 /** @since Available in iOS 7.0 and later. */
 public SKReceiptRefreshRequestOptions setExpired(boolean expired) {
   data.put(IsExpiredKey(), NSNumber.valueOf(expired));
   return this;
 }
 /** @since Available in iOS 7.0 and later. */
 public SKReceiptRefreshRequestOptions setRevoked(boolean revoked) {
   data.put(IsRevokedKey(), NSNumber.valueOf(revoked));
   return this;
 }
Ejemplo n.º 9
0
 /** @since Available in iOS 2.0 and later. */
 public NSStream setCurrentOffset(long offset) {
   setProperty(NSStreamProperty.FileCurrentOffset, NSNumber.valueOf(offset));
   return this;
 }
Ejemplo n.º 10
0
 public NSNetServiceErrorUserInfo setErrorCode(NSNetServiceErrorCode errorCode) {
   set(Keys.ErrorCode(), NSNumber.valueOf(errorCode.value()));
   return this;
 }
Ejemplo n.º 11
0
 public NSFileSystemAttributes setFreeNodes(long freeNodes) {
   set(NSFileSystemAttribute.FreeNodes, NSNumber.valueOf(freeNodes));
   return this;
 }
Ejemplo n.º 12
0
 public NSFileSystemAttributes setNodes(long nodes) {
   set(NSFileSystemAttribute.Nodes, NSNumber.valueOf(nodes));
   return this;
 }
Ejemplo n.º 13
0
 public NSFileSystemAttributes setFreeSize(long freeSize) {
   set(NSFileSystemAttribute.FreeSize, NSNumber.valueOf(freeSize));
   return this;
 }
Ejemplo n.º 14
0
 public NSFileSystemAttributes setSize(long size) {
   set(NSFileSystemAttribute.Size, NSNumber.valueOf(size));
   return this;
 }
Ejemplo n.º 15
0
 public NSFileSystemAttributes setSystemNumber(long systemNumber) {
   set(NSFileSystemAttribute.Number, NSNumber.valueOf(systemNumber));
   return this;
 }