コード例 #1
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;
 }
コード例 #2
0
 /** @since Available in iOS 4.1 and later. */
 public UIImagePickerControllerEditingInfo setMediaMetadata(Map<String, NSObject> mediaMetadata) {
   set(Keys.MediaMetadata(), NSDictionary.fromStringMap(mediaMetadata));
   return this;
 }