LocationContext.TimeRestrictions

public class LocationContext.TimeRestrictions


Time restrictions to apply when generating search suggestions.

Summary

Public constructors

Public constructors

TimeRestrictions

public TimeRestrictions(LocationContext.TimeSegment timeSegment)

Public methods

setTimeSegment

@CanIgnoreReturnValue
public LocationContext.TimeRestrictions setTimeSegment(LocationContext.TimeSegment timeSegment)

Sets the time segment.

Parameters
LocationContext.TimeSegment timeSegment

the time segment.

Returns
LocationContext.TimeRestrictions

the time restrictions.