LocationAgentDelegate
public protocol LocationAgentDelegate : AnyObject
The methods that you use to receive location information from an associated LocationAgent object.
-
It called when need location information for using nugu service.
It is used as
ContextInfo, thus must be getLocationInfoquickly and synchronous. Mostly used when every a request throughASRAgentorTextAgent. Best to use cached value or constant value when possible.Declaration
Swift
func locationAgentRequestLocationInfo() -> LocationInfo?
View on GitHub
LocationAgentDelegate Protocol Reference