Badge


public final class Badge


An object representing a badge.

Summary

Nested types

public final class Badge.Builder

Builder class for Badge.

Public methods

Optional<Image>

Returns the logo/profile image of the badge.

Optional<String>

Returns the text for the badge.

Public methods

getImage

public Optional<ImagegetImage()

Returns the logo/profile image of the badge.

getText

public Optional<StringgetText()

Returns the text for the badge.