-
@Immutable() public final class StreamShapesContains all the shapes we provide for our components.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classStreamShapes.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Shapeavatarprivate final ShapemyMessageBubbleprivate final ShapeotherMessageBubbleprivate final ShapeinputFieldprivate final Shapeattachmentprivate final ShapeimageThumbnailprivate final ShapebottomSheetprivate final ShapesuggestionListprivate final ShapeattachmentSiteLabelprivate final Shapeheaderprivate final ShapequotedAttachmentprivate final ShapepollOptionInput
-
Constructor Summary
Constructors Constructor Description StreamShapes(Shape avatar, Shape myMessageBubble, Shape otherMessageBubble, Shape inputField, Shape attachment, Shape imageThumbnail, Shape bottomSheet, Shape suggestionList, Shape attachmentSiteLabel, Shape header, Shape quotedAttachment, Shape pollOptionInput)
-
Method Summary
Modifier and Type Method Description final ShapegetAvatar()final ShapegetMyMessageBubble()final ShapegetOtherMessageBubble()final ShapegetInputField()final ShapegetAttachment()final ShapegetImageThumbnail()final ShapegetBottomSheet()final ShapegetSuggestionList()final ShapegetAttachmentSiteLabel()final ShapegetHeader()final ShapegetQuotedAttachment()final ShapegetPollOptionInput()-
-
Constructor Detail
-
StreamShapes
StreamShapes(Shape avatar, Shape myMessageBubble, Shape otherMessageBubble, Shape inputField, Shape attachment, Shape imageThumbnail, Shape bottomSheet, Shape suggestionList, Shape attachmentSiteLabel, Shape header, Shape quotedAttachment, Shape pollOptionInput)
- Parameters:
avatar- The avatar shape.myMessageBubble- The bubble that wraps my message content.otherMessageBubble- The bubble that wraps other people's message content.inputField- The shape of the input field.attachment- The shape of attachments.imageThumbnail- The shape of image thumbnails, shown in selected attachments and image file attachments.bottomSheet- The shape of components used as bottom sheets.suggestionList- The shape of suggestion list popup.attachmentSiteLabel- The shape of the label showing website name over link attachments.header- The shape of the headers, such as the ones appearing on the Channel or Message screens.quotedAttachment- The shape of quoted attachments.
-
-
Method Detail
-
getAvatar
final Shape getAvatar()
-
getMyMessageBubble
final Shape getMyMessageBubble()
-
getOtherMessageBubble
final Shape getOtherMessageBubble()
-
getInputField
final Shape getInputField()
-
getAttachment
final Shape getAttachment()
-
getImageThumbnail
final Shape getImageThumbnail()
-
getBottomSheet
final Shape getBottomSheet()
-
getSuggestionList
final Shape getSuggestionList()
-
getAttachmentSiteLabel
final Shape getAttachmentSiteLabel()
-
getHeader
final Shape getHeader()
-
getQuotedAttachment
final Shape getQuotedAttachment()
-
getPollOptionInput
final Shape getPollOptionInput()
-
-
-
-