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

時間限制