コード例 #1
0
 public UIImage getEditedImage() {
   if (has(Keys.EditedImage())) {
     UIImage val = (UIImage) get(Keys.EditedImage());
     return val;
   }
   return null;
 }
コード例 #2
0
 /** @since Available in iOS 4.1 and later. */
 public Map<String, NSObject> getMediaMetadata() {
   if (has(Keys.MediaMetadata())) {
     NSDictionary val = (NSDictionary) get(Keys.MediaMetadata());
     return val.asStringMap();
   }
   return null;
 }
コード例 #3
0
 /** @since Available in iOS 4.1 and later. */
 public NSURL getReferenceURL() {
   if (has(Keys.ReferenceURL())) {
     NSURL val = (NSURL) get(Keys.ReferenceURL());
     return val;
   }
   return null;
 }
コード例 #4
0
 public NSURL getMediaURL() {
   if (has(Keys.MediaURL())) {
     NSURL val = (NSURL) get(Keys.MediaURL());
     return val;
   }
   return null;
 }
コード例 #5
0
 public CGRect getCropRect() {
   if (has(Keys.CropRect())) {
     NSValue val = (NSValue) get(Keys.CropRect());
     return val.rectValue();
   }
   return null;
 }
コード例 #6
0
 public UIImage getOriginalImage() {
   if (has(Keys.OriginalImage())) {
     UIImage val = (UIImage) get(Keys.OriginalImage());
     return val;
   }
   return null;
 }
コード例 #7
0
 public String getMediaType() {
   if (has(Keys.MediaType())) {
     NSString val = (NSString) get(Keys.MediaType());
     return val.toString();
   }
   return null;
 }
コード例 #8
0
 /** @since Available in iOS 4.1 and later. */
 public UIImagePickerControllerEditingInfo setMediaMetadata(Map<String, NSObject> mediaMetadata) {
   set(Keys.MediaMetadata(), NSDictionary.fromStringMap(mediaMetadata));
   return this;
 }
コード例 #9
0
 /** @since Available in iOS 4.1 and later. */
 public UIImagePickerControllerEditingInfo setReferenceURL(NSURL referenceURL) {
   set(Keys.ReferenceURL(), referenceURL);
   return this;
 }
コード例 #10
0
 public UIImagePickerControllerEditingInfo setMediaURL(NSURL mediaURL) {
   set(Keys.MediaURL(), mediaURL);
   return this;
 }
コード例 #11
0
 public UIImagePickerControllerEditingInfo setCropRect(CGRect cropRect) {
   set(Keys.CropRect(), NSValue.valueOf(cropRect));
   return this;
 }
コード例 #12
0
 public UIImagePickerControllerEditingInfo setEditedImage(UIImage editedImage) {
   set(Keys.EditedImage(), editedImage);
   return this;
 }
コード例 #13
0
 public UIImagePickerControllerEditingInfo setOriginalImage(UIImage originalImage) {
   set(Keys.OriginalImage(), originalImage);
   return this;
 }
コード例 #14
0
 public UIImagePickerControllerEditingInfo setMediaType(String mediaType) {
   set(Keys.MediaType(), new NSString(mediaType));
   return this;
 }