Content


public final class Content


Represents content sent to and received from the model.

See also
content

Summary

Nested types

public final class Content.Builder
public static class Content.Companion
@IntDef(value = [0, 1])
public annotation Content.Role

Role associated with Content

Public methods

final @NonNull List<@NonNull Part>
final int

Public methods

getParts

public final @NonNull List<@NonNull PartgetParts()

getRole

public final int getRole()