Segment

open class Segment : Parcelable

Represents a segment that was detected for the user.

Constructors

Link copied to clipboard
constructor(segmentCategory: SegmentCategory, segmentSubcategory: SegmentSubcategory, segmentType: SegmentType, startTime: DateTime, @Nullable endTime: DateTime, attributes: List<Attribute>)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open fun describeContents(): Int
Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
Returns attributes pertaining to the segment.
Link copied to clipboard
Returns the category of the segment.
Link copied to clipboard
Returns the end time of the segment, if it has ended.
Link copied to clipboard
open fun getSegmentId(): Int
Returns the ID of the segment.
Link copied to clipboard
Returns the start time of the segment.
Link copied to clipboard
Returns the subcategory of the segment.
Link copied to clipboard
Returns the type of the segment.
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun writeToParcel(dest: Parcel, flags: Int)