Advanced API access for
These APIs are useful for other infrastructures, for example, acquiring extra reference
an App developer should avoid using the following APIs.
APIs inside are treated as internal APIs which are subject to change.
Public Method Summary
Inherited Method Summary
public void acquire ()
Acquires a reference on this
This will increase the reference count by 1.
This method is more useful for image consumer to acquire a reference so image resource will not be closed accidentally. As image creator, normal developer doesn't need to call this method.
The reference count is 1 when
created. Developer can call
to indicate it doesn't need this