public class NativeFrame extends Frame
NO_BINDING, TIMESTAMP_NOT_SET, TIMESTAMP_UNKNOWN
Modifier and Type | Method and Description |
---|---|
Bitmap |
getBitmap() |
int |
getCapacity() |
ByteBuffer |
getData() |
float[] |
getFloats() |
int[] |
getInts() |
Object |
getObjectValue()
Returns the native frame's Object value.
|
protected boolean |
hasNativeAllocation() |
protected void |
releaseNativeAllocation() |
void |
setBitmap(Bitmap bitmap) |
void |
setData(ByteBuffer buffer,
int offset,
int length) |
void |
setDataFromFrame(Frame frame) |
void |
setFloats(float[] floats) |
void |
setInts(int[] ints) |
String |
toString()
Returns a string containing a concise, human-readable description of this
object.
|
assertFrameMutable, convertBitmapToRGBA, getBindingId, getBindingType, getFormat, getFrameManager, getRefCount, getTimestamp, isReadOnly, onFrameFetch, onFrameStore, release, requestResize, reset, retain, setData, setData, setFormat, setGenericObjectValue, setObjectValue, setReusable, setTimestamp
protected void releaseNativeAllocation()
releaseNativeAllocation
in class Frame
protected boolean hasNativeAllocation()
hasNativeAllocation
in class Frame
public int getCapacity()
getCapacity
in class Frame
public Object getObjectValue()
getObjectValue
in class Frame
public void setData(ByteBuffer buffer, int offset, int length)
public ByteBuffer getData()
public void setDataFromFrame(Frame frame)
setDataFromFrame
in class Frame
public String toString()
Object
getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toString
method
if you intend implementing your own toString
method.