Skip to main content

Base64.decodeTextureAsync

Function

Decode a texture from Base64, asynchronously.

  • Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.

Platform details

  • Snapchat — Fully supported.

  • SPECS — Fully supported.

  • Camera Kit Web — Fully supported.

  • Camera Kit Mobile — Fully supported.

decodeTextureAsync(value, onSuccess, onFailure): void

Decode a texture from Base64, asynchronously.

Parameters

ParameterType
valuestring
onSuccess(decodedTexture) => void
onFailure() => void

Returns

void