Palette.PaletteAsyncListener


interface Palette.PaletteAsyncListener


Listener to be used with generateAsync or generateAsync

Summary

Public functions

Unit
onGenerated(palette: Palette?)

Called when the Palette has been generated.

Public functions

onGenerated

Added in 1.0.0
fun onGenerated(palette: Palette?): Unit

Called when the Palette has been generated. null will be passed when an error occurred during generation.