SealdSdk_GetCurrentAccountInfo method

Pointer<NativeSealdAccountInfo> SealdSdk_GetCurrentAccountInfo(
  1. Pointer<NativeSealdSdk> sealdSdk
)

Return information about the current account, or NULL if there is none.

@param sealdSdk The SealdSdk instance. @return A SealdAccountInfo instance, containing the Seald ID of the local Seald user, the device ID, and the date at which the current device keys will expire. NULL if there is no local user.

Implementation

ffi.Pointer<NativeSealdAccountInfo> SealdSdk_GetCurrentAccountInfo(
  ffi.Pointer<NativeSealdSdk> sealdSdk,
) {
  return _SealdSdk_GetCurrentAccountInfo(
    sealdSdk,
  );
}