public List <string> getPluginId() { StringBuilder stringBuilder = new StringBuilder(); stringBuilder.Capacity = 1024; AnySDKIAP.AnySDKIAP_nativeGetPluginId(stringBuilder); return(AnySDKUtil.StringToList(stringBuilder.ToString())); }
/** * @brief get plugin ids * @return List<string> the plugin ids */ public List <string> getPluginId() { #if !UNITY_EDITOR && (UNITY_ANDROID || UNITY_IOS) StringBuilder value = new StringBuilder(); value.Capacity = AnySDKUtil.MAX_CAPACITY_NUM; AnySDKIAP_nativeGetPluginId(value); List <string> list = AnySDKUtil.StringToList(value.ToString()); return(list); #else Debug.Log("This platform does not support!"); return(null); #endif }