Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:bs2_getuserstatistic [2022/09/07 11:16] mark [BS2_GetUserStatistic] |
en:bs2_getuserstatistic [2022/09/07 13:54] (current) mark |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)// | ||
- | |||
~~NOTOC~~ | ~~NOTOC~~ | ||
[[user_management_api]] > [[BS2_GetUserStatistic]] | [[user_management_api]] > [[BS2_GetUserStatistic]] | ||
Line 8: | Line 6: | ||
===== BS2_GetUserStatistic ===== | ===== BS2_GetUserStatistic ===== | ||
[+ 2.8.3] Gets the user-related statistics that the device has. \\ | [+ 2.8.3] Gets the user-related statistics that the device has. \\ | ||
- | ==== 함수 ==== | + | ==== Declaration ==== |
<code cpp> | <code cpp> | ||
#include "BS_API.h" | #include "BS_API.h" | ||
Line 16: | Line 14: | ||
<callout type="info"> | <callout type="info"> | ||
- | [[user_management_api#BS2UserStatistic|BS2UserStatistic 구조체 보기]] | + | [[user_management_api#BS2UserStatistic|See BS2UserStatistic Structure]] |
</callout> | </callout> | ||
- | ==== 파라미터 ==== | + | ==== Parameter ==== |
* [In] ''//context//'' : Context | * [In] ''//context//'' : Context | ||
- | * [In] ''//deviceId//'' : 장치 식별자 | + | * [In] ''//deviceId//'' : Device Id |
- | * [Out] ''//userStatistic//'' : 사용자 관련 통계 정보를 저장할 포인터 | + | * [Out] ''//userStatistic//'' : Pointer to store user-related statistics |
- | ==== 반환값 ==== | + | ==== Return Value ==== |
- | 성공적으로 수행될 경우 ''BS_SDK_SUCCESS''를 반환하고, 에러가 발생할 경우 상응하는 에러 코드를 반환합니다. | + | If successfully done, ''BS_SDK_SUCCESS'' will be returned. If there is an error, the corresponding error code will be returned. |
\\ | \\ | ||
- | ==== 샘플코드(C++) ==== | + | ==== Sample Code (C++) ==== |
<file cpp sample_getuserstatistic.cpp> | <file cpp sample_getuserstatistic.cpp> | ||
BS2UserStatistic statistic = { 0, }; | BS2UserStatistic statistic = { 0, }; | ||
Line 40: | Line 38: | ||
</file> | </file> | ||
- | ==== 샘플코드(C#) ==== | + | ==== Sample Code (C#) ==== |
<file csharp sample_getuserstatistic.cs> | <file csharp sample_getuserstatistic.cs> | ||
BS2UserStatistic statistic; | BS2UserStatistic statistic; |