MediaSession.GetBitmapSizeLimit(Context) 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.
Gets the media metadata bitmap size limit from a specified context
[Android.Runtime.Register("getBitmapSizeLimit", "(Landroid/content/Context;)Landroid/util/Size;", "", ApiSince=37)]
public static Android.Util.Size GetBitmapSizeLimit(Android.Content.Context context);
[<Android.Runtime.Register("getBitmapSizeLimit", "(Landroid/content/Context;)Landroid/util/Size;", "", ApiSince=37)>]
static member GetBitmapSizeLimit : Android.Content.Context -> Android.Util.Size
Parameters
- context
- Context
The context to get the bitmap size limit from. This value cannot be null.
Returns
The maximum width and height, in pixels, for media metadata bitmaps, as configured by the specified context's resources.
- Attributes
Remarks
Gets the media metadata bitmap size limit from a specified context
Android reference for android.media.session.MediaSession.getBitmapSizeLimit.
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.