#[no_mangle]
pub unsafe extern "C" fn Java_io_projectliberty_graphsdk_Native_getConfig<'local>(
    env: JNIEnv<'local>,
    _class: JClass<'local>,
    environment: JByteArray<'_>
) -> JByteArray<'local>
Expand description

Get config for an environment.

Arguments

  • environment - the environment to get config for

Returns

  • jbyteArray - the serialized config

Errors

  • SdkJniError - if getting config fails