SealdSdk_GetSealdIdsFromConnectors method

int SealdSdk_GetSealdIdsFromConnectors(
  1. Pointer<NativeSealdSdk> sealdSdk,
  2. Pointer<NativeSealdConnectorTypeValueArray> connectorTypeValues,
  3. Pointer<Pointer<NativeSealdStringArray>> result,
  4. Pointer<Pointer<NativeSealdError>> error,
)

Get all the info for the given connectors to look for, updates the local cache of connectors, and returns a SealdStringArray with the corresponding SealdIds. SealdIds are not de-duped and can appear for multiple connector values. If one of the connectors is not assigned to a Seald user, this will return a ErrorGetSealdIdsUnknownConnector error, with the details of the missing connector.

@param sealdSdk The SealdSdk instance. @param connectorTypeValues A SealdConnectorTypeValueArray instance. @param result A pointer where to store the SealdStringArray of Seald IDs of the users corresponding to these connectors. @param error A pointer to a SealdError* where details will be stored in case of error. @return Error code: -1 if an error happened, 0 for success.

Implementation

int SealdSdk_GetSealdIdsFromConnectors(
  ffi.Pointer<NativeSealdSdk> sealdSdk,
  ffi.Pointer<NativeSealdConnectorTypeValueArray> connectorTypeValues,
  ffi.Pointer<ffi.Pointer<NativeSealdStringArray>> result,
  ffi.Pointer<ffi.Pointer<NativeSealdError>> error,
) {
  return _SealdSdk_GetSealdIdsFromConnectors(
    sealdSdk,
    connectorTypeValues,
    result,
    error,
  );
}