blob: 44a21e826da015bc750a1d6d8cd13aed3b7c4306 [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build java android
package syncbase
import (
jutil "v.io/x/jni/util"
)
func GoStorageEngine(env jutil.Env, jEngine jutil.Object) (string, error) {
if jEngine.IsNull() {
return "leveldb", nil
}
return jutil.CallStringMethod(env, jEngine, "getValue", []jutil.Sign{})
}