-
Notifications
You must be signed in to change notification settings - Fork 17
Class BitmapRegionDecoder
Il Kadyrov edited this page Oct 28, 2020
·
2 revisions
BitmapRegionDecoder class is used for getting bitmaps from byte array.
Referenced from: ResourceManager.
public BitmapRegionDecoder newInstance(byte[] data, int length)
Function returns the instance of BitmapRegionDecoder, which could be used for decoding byte array to bitmap.
-
data
— byte array of compressed image data. -
length
— length ofdata
byte array.
BitmapRegionDecoder class instance.
public Bitmap decodeRegion(Rectangle rectangle, int sampleSize);
Function decodes a rectangle region in the image specified by rect.
-
rectangle
— byte array of image data. -
sampleSize
— if set to a value > 1, requests the decoder to subsample the original image, returning a smaller image to save memory.
Bitmap class instance.
Tutorials
Classes
- NavigineSdk
- LocationListManager
- LocationManager
- NavigationManager
- RouteManager
- ZoneManager
- NotificationManager
- MeasurementManager
- LocationEditManager
- ResourceManager
- Location
- Sublocation
- Category
- Venue
- Zone
- Beacon
- Eddystone
- Wifi
- LocationView
- LocationViewController
- CircleMapObject
- PolylineMapObject
- IconMapObject
- TouchInput
- ScaleResponder
- PanResponder
- LongPressResponder
- DoubleTapResponder
- TapResponder
- LocationListListener
- LocationListener
- PositionListener
- RouteListener
- ZoneListener
- NotificationListener
- LocationEditListener
- MeasurementListener
- ResourceListener
- ResourceUploadListener
- Notification
- Position
- SignalMeasurement
- SensorMeasurement
- Image
- RoutePath
- RouteEvent
- LocationPoint
- LocationInfo
- BitmapRegionDecoder