LocationContext.TimeRestrictions

public class LocationContext.TimeRestrictions


生成搜索建议时要应用的时间限制。

摘要

公共构造函数

公共构造函数

TimeRestrictions

public TimeRestrictions(LocationContext.TimeSegment timeSegment)

公共方法

setTimeSegment

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

设置时间细分。

参数
LocationContext.TimeSegment timeSegment

时间细分。

返回
LocationContext.TimeRestrictions

时间限制