MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getContent

Method getContent

valdi/src/java/com/snap/valdi/utils/ValdiImage.kt:54–56  ·  view source on GitHub ↗

* Returns the content of the ValdiImage. * If the ValdiImage does not hold a Bitmap, * this method should be overridden to return the * right content through this method. */

Source from the content-addressed store, hash-verified

52 * right content through this method.
53 */
54 open fun getContent(): ValdiImageContent {
55 return ValdiImageContent.Bitmap(getBitmap())
56 }
57
58 @Keep
59 fun onRetrieveContent(marshallerHandle: Long): Any? {

Callers

nothing calls this directly

Calls 1

BitmapMethod · 0.80

Tested by

no test coverage detected