MediaMetadataEditor.GetObject(MediaMetadataEditKey, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
deprecated
Returns an object representation of the value for the key
[Android.Runtime.Register("getObject", "(ILjava/lang/Object;)Ljava/lang/Object;", "GetGetObject_ILjava_lang_Object_Handler")]
[System.Obsolete("deprecated")]
public virtual Java.Lang.Object? GetObject (Android.Media.MediaMetadataEditKey key, Java.Lang.Object? defaultValue);
[<Android.Runtime.Register("getObject", "(ILjava/lang/Object;)Ljava/lang/Object;", "GetGetObject_ILjava_lang_Object_Handler")>]
[<System.Obsolete("deprecated")>]
override this.GetObject : Android.Media.MediaMetadataEditKey * Java.Lang.Object -> Java.Lang.Object
Parameters
one of the keys supported in #putObject(int, Object)
- defaultValue
- Object
the value returned if the key is not present
Returns
the object for the key, as a Long
, Bitmap
, String
, or
Rating
depending on the key value, or the supplied default value if the key is
not present
- Attributes
Exceptions
Remarks
Returns an object representation of the value for the key
Java documentation for android.media.MediaMetadataEditor.getObject(int, java.lang.Object)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.