Class Location
Inheritance
object
Location
Namespace: Glitch9.AIDevKit
Assembly: .dll
Syntax
[Serializable]
public class Location
Fields
City
Optional. Free text input for the city of the user, e.g. San Francisco.
Declaration
public string City
Field Value
Type | Description |
---|---|
string |
Country
Optional. The two-letter ISO country code of the user, e.g. US.
Declaration
public Country? Country
Field Value
Type | Description |
---|---|
Country? |
Region
Optional. Free text input for the region of the user, e.g. California.
Declaration
public string Region
Field Value
Type | Description |
---|---|
string |
Timezone
Optional. The IANA timezone of the user, e.g. America/Los_Angeles.
Declaration
public TimeZone? Timezone
Field Value
Type | Description |
---|---|
TimeZone? |
Properties
Type
Required. The type of location approximation. Always approximate.
Declaration
public string Type { get; }
Property Value
Type | Description |
---|---|
string |