IconKt

public final class IconKt


Summary

Public methods

static final @RequiresApi(value = 26) @NonNull Icon

Create an Icon from this adaptive Bitmap.

static final @RequiresApi(value = 26) @NonNull Icon
IconKt.toIcon(Bitmap receiver)

Create an Icon from this Bitmap.

static final @RequiresApi(value = 26) @NonNull Icon
IconKt.toIcon(Uri receiver)

Create an Icon from this Uri.

static final @RequiresApi(value = 26) @NonNull Icon
IconKt.toIcon(byte[] receiver)

Create an Icon from this ByteArray.

Public methods

IconKt.toAdaptiveIcon

@RequiresApi(value = 26)
public static final @NonNull Icon IconKt.toAdaptiveIcon(Bitmap receiver)

Create an Icon from this adaptive Bitmap.

IconKt.toIcon

@RequiresApi(value = 26)
public static final @NonNull Icon IconKt.toIcon(Bitmap receiver)

Create an Icon from this Bitmap.

See also
createWithBitmap

IconKt.toIcon

@RequiresApi(value = 26)
public static final @NonNull Icon IconKt.toIcon(Uri receiver)

Create an Icon from this Uri.

IconKt.toIcon

@RequiresApi(value = 26)
public static final @NonNull Icon IconKt.toIcon(byte[] receiver)

Create an Icon from this ByteArray.

See also
createWithData