다음을 통해 공유


MediaMetadata.BitmapDimensionLimit Property

Definition

Gets the width/height limit (in pixels) for the bitmaps when this metadata was created.

public int BitmapDimensionLimit { [Android.Runtime.Register("getBitmapDimensionLimit", "()I", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getBitmapDimensionLimit", "()I", "", ApiSince=31)>]
member this.BitmapDimensionLimit : int

Property Value

Attributes

Remarks

Gets the width/height limit (in pixels) for the bitmaps when this metadata was created. This method always returns a positive value.

If it returns Integer#MAX_VALUE, then no scaling down was applied to the bitmaps when this metadata was created.

If it returns another positive value, then all the bitmaps in this metadata has width/height not greater than this limit. Bitmaps may have been scaled down according to the limit.

Java documentation for android.media.MediaMetadata.getBitmapDimensionLimit().

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.

Applies to