Class EOS_UserInfo
java.lang.Object
com.sun.jna.Structure
host.anzo.eossdk.eos.sdk.userinfo.EOS_UserInfo
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
EOS_UserInfo.ByReference,EOS_UserInfo.ByValue
@FieldOrder({"ApiVersion","UserId","Country","DisplayName","PreferredLanguage","Nickname","DisplayNameSanitized"})
public class EOS_UserInfo
extends com.sun.jna.Structure
implements AutoCloseable
A structure that contains the user information. These structures are created by EOS_UserInfo_CopyUserInfo and must be passed to EOS_UserInfo_Release.
- Since:
- 9/3/2023
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField -
Field Summary
FieldsModifier and TypeFieldDescriptionintAPI Version: Set this toEOS_USERINFO_COPYUSERINFO_API_LATEST.The name of the owner's country.The display name (un-sanitized).The raw display name (sanitized).static intThe most recent version of the EOS_UserInfo_CopyUserInfo API.static intThe maximum length of display names, in displayable charactersstatic intThe maximum length of display names when encoded as UTF-8 as returned by EOS_UserInfo_CopyUserInfo.A nickname/alias for the target user assigned by the local user.The ISO 639 language code for the user's preferred language.The Epic Account ID of the userFields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
Field Details
-
EOS_USERINFO_MAX_DISPLAYNAME_CHARACTERS
public static int EOS_USERINFO_MAX_DISPLAYNAME_CHARACTERSThe maximum length of display names, in displayable characters -
EOS_USERINFO_MAX_DISPLAYNAME_UTF8_LENGTH
public static int EOS_USERINFO_MAX_DISPLAYNAME_UTF8_LENGTHThe maximum length of display names when encoded as UTF-8 as returned by EOS_UserInfo_CopyUserInfo. This length does not include the null terminator. -
EOS_USERINFO_COPYUSERINFO_API_LATEST
public static int EOS_USERINFO_COPYUSERINFO_API_LATESTThe most recent version of the EOS_UserInfo_CopyUserInfo API. -
ApiVersion
public int ApiVersionAPI Version: Set this toEOS_USERINFO_COPYUSERINFO_API_LATEST. -
UserId
The Epic Account ID of the user -
Country
The name of the owner's country. This may be null -
DisplayName
The display name (un-sanitized). This may be null -
PreferredLanguage
The ISO 639 language code for the user's preferred language. This may be null -
Nickname
A nickname/alias for the target user assigned by the local user. This may be null -
DisplayNameSanitized
The raw display name (sanitized). This may be null
-
-
Constructor Details
-
EOS_UserInfo
public EOS_UserInfo() -
EOS_UserInfo
public EOS_UserInfo(com.sun.jna.Pointer peer)
-
-
Method Details
-
release
public void release() -
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-