getDurationMillis

@IntRange(from = 1)
open fun getDurationMillis(): Long(source)

Returns the duration for which location will be provided before the request is automatically removed. A duration of Long.MAX_VALUE represents an unlimited duration.

Return

the duration for which location will be provided