Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る

Palette.PaletteAsyncListener

public static interface Palette.PaletteAsyncListener

androidx.palette.graphics.Palette.PaletteAsyncListener


Listener to be used with Palette.generateAsync(Bitmap, PaletteAsyncListener) or Palette.generateAsync(Bitmap, int, PaletteAsyncListener)

Summary

Public methods

abstract void onGenerated(Palette palette)

Called when the Palette has been generated.

Public methods

onGenerated

public abstract void onGenerated (Palette palette)

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

Parameters
palette Palette