Exemplo n.º 1
0
 /** @since Available in iOS 4.0 and later. */
 public AVVideoSettings setPixelAspectRatio(AVPixelAspectRatio pixelAspectRatio) {
   NSDictionary<NSString, NSObject> val = new NSMutableDictionary<>();
   val.put(AVPixelAspectRatio.HorizontalSpacing(), pixelAspectRatio.getHorizontalSpacing());
   val.put(AVPixelAspectRatio.VerticalSpacing(), pixelAspectRatio.getVerticalSpacing());
   set(Keys.PixelAspectRatio(), val);
   return this;
 }
 /** @since Available in iOS 7.0 and later. */
 public SKReceiptRefreshRequestOptions setVolumePurchase(boolean volumePurchase) {
   data.put(IsVolumePurchaseKey(), NSNumber.valueOf(volumePurchase));
   return this;
 }
 /** @since Available in iOS 7.0 and later. */
 public SKReceiptRefreshRequestOptions setRevoked(boolean revoked) {
   data.put(IsRevokedKey(), NSNumber.valueOf(revoked));
   return this;
 }
 /** @since Available in iOS 7.0 and later. */
 public SKReceiptRefreshRequestOptions setExpired(boolean expired) {
   data.put(IsExpiredKey(), NSNumber.valueOf(expired));
   return this;
 }