ServiceType
public struct ServiceType : Encodable
Represents a service scope with which data requests can be limited to
-
Undocumented
Declaration
Swift
public let identifier: UInt
-
Undocumented
Declaration
Swift
public let serviceObjectTypes: [ServiceObjectType]
-
Limits service-based data response to include this service and associated objects. A service is a direct or indirect provider of a user’s data, such as Twitter or Spotify.
See https://developers.digi.me/reference-objects#services for a list of service identifiers.
Declaration
Swift
public init(identifier: UInt, objectTypes: [ServiceObjectType])
Parameters
identifier
The service identifier
objectTypes
Objects which can further limit the data request scope for this service. If empty, all objects associated with this service wil be included