ServiceOption class
轨迹服务运行需要的基础信息类(iOS)
Constructors
- ServiceOption({@required String ak, @required String mcode, @required int serviceId, @required bool keepAlive})
- 有参构造
- ServiceOption.fromMap(Map map)
- map => ServiceOption
Properties
- ak ↔ String
-
AK
填写你在API控制台申请的iOS类型的AK
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- keepAlive ↔ bool
-
是否保活
read / write
- mcode ↔ String
-
mcode
填写你在API控制台申请iOS类型AK时指定的Bundle Identifier
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- serviceId ↔ int
-
轨迹服务的ID
填写你在鹰眼轨迹管理台创建的鹰眼服务对应的ID
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toMap(
) → Map - ServiceOption => map
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited