BrushFamilyDecodeCallback



Summary

Public functions

String
onDecodeTexture(clientTextureId: String, bitmap: Bitmap?)

Called for each texture used by a BrushFamily when that BrushFamily is decoded.

android

Public functions

onDecodeTexture

fun onDecodeTexture(clientTextureId: String, bitmap: Bitmap?): String

Called for each texture used by a BrushFamily when that BrushFamily is decoded. In the implementation of this method, the returned String should be mapped to bitmap (or a client- provided replacement) in the supporting TextureBitmapStore.

Parameters
clientTextureId: String

the ID for this texture in the serialized form of the BrushFamily.

bitmap: Bitmap?

the bitmap corresponding to clientTextureId in the serialized form of the BrushFamily. Null indicates that the serialized form did not store a bitmap for clientTextureId.