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 getLocationInfo
quickly and synchronous. Mostly used when every a request throughASRAgent
orTextAgent
. Best to use cached value or constant value when possible.Declaration
Swift
func locationAgentRequestLocationInfo() -> LocationInfo?