EPBubbleLayoutContext
public class EPBubbleLayoutContext : NSObject
The bubble layout context.
-
If
true, the message is incoming (sent by the bot to the user).Declaration
Swift
public var isMessageIncoming: Bool -
If
trueit means that an incoming bubble is followed by another incoming bubble or, an outgoing bubble is followed by another outgoing bubble.Declaration
Swift
public var isFollowedByTheSameBubble: Bool -
Initializes the bubble layout context.
Declaration
Swift
public convenience init(isIncoming: Bool, isFollowed: Bool, isLast: Bool)Parameters
isIncomingtrueif the message is incoming (sent by the bot).isFollowedtruethis incoming bubble is followed by another incoming bubble or, this outgoing bubble is followed by another outgoing bubble.
EPBubbleLayoutContext Class Reference