Package com.heroiclabs.nakama.api
Interface AccountGameCenterOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AccountGameCenter
,AccountGameCenter.Builder
public interface AccountGameCenterOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsVars
(String key) Extra information that will be bundled in the session token.Bundle ID (generated by GameCenter).com.google.protobuf.ByteString
Bundle ID (generated by GameCenter).Player ID (generated by GameCenter).com.google.protobuf.ByteString
Player ID (generated by GameCenter).The URL for the public encryption key.com.google.protobuf.ByteString
The URL for the public encryption key.getSalt()
A random "NSString" used to compute the hash and keep it randomized.com.google.protobuf.ByteString
A random "NSString" used to compute the hash and keep it randomized.The verification signature data generated.com.google.protobuf.ByteString
The verification signature data generated.long
Time since UNIX epoch when the signature was created.getVars()
Deprecated.int
Extra information that will be bundled in the session token.Extra information that will be bundled in the session token.getVarsOrDefault
(String key, String defaultValue) Extra information that will be bundled in the session token.getVarsOrThrow
(String key) Extra information that will be bundled in the session token.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPlayerId
String getPlayerId()Player ID (generated by GameCenter).
string player_id = 1;
- Returns:
- The playerId.
-
getPlayerIdBytes
com.google.protobuf.ByteString getPlayerIdBytes()Player ID (generated by GameCenter).
string player_id = 1;
- Returns:
- The bytes for playerId.
-
getBundleId
String getBundleId()Bundle ID (generated by GameCenter).
string bundle_id = 2;
- Returns:
- The bundleId.
-
getBundleIdBytes
com.google.protobuf.ByteString getBundleIdBytes()Bundle ID (generated by GameCenter).
string bundle_id = 2;
- Returns:
- The bytes for bundleId.
-
getTimestampSeconds
long getTimestampSeconds()Time since UNIX epoch when the signature was created.
int64 timestamp_seconds = 3;
- Returns:
- The timestampSeconds.
-
getSalt
String getSalt()A random "NSString" used to compute the hash and keep it randomized.
string salt = 4;
- Returns:
- The salt.
-
getSaltBytes
com.google.protobuf.ByteString getSaltBytes()A random "NSString" used to compute the hash and keep it randomized.
string salt = 4;
- Returns:
- The bytes for salt.
-
getSignature
String getSignature()The verification signature data generated.
string signature = 5;
- Returns:
- The signature.
-
getSignatureBytes
com.google.protobuf.ByteString getSignatureBytes()The verification signature data generated.
string signature = 5;
- Returns:
- The bytes for signature.
-
getPublicKeyUrl
String getPublicKeyUrl()The URL for the public encryption key.
string public_key_url = 6;
- Returns:
- The publicKeyUrl.
-
getPublicKeyUrlBytes
com.google.protobuf.ByteString getPublicKeyUrlBytes()The URL for the public encryption key.
string public_key_url = 6;
- Returns:
- The bytes for publicKeyUrl.
-
getVarsCount
int getVarsCount()Extra information that will be bundled in the session token.
map<string, string> vars = 7;
-
containsVars
Extra information that will be bundled in the session token.
map<string, string> vars = 7;
-
getVars
Deprecated.UsegetVarsMap()
instead. -
getVarsMap
Extra information that will be bundled in the session token.
map<string, string> vars = 7;
-
getVarsOrDefault
Extra information that will be bundled in the session token.
map<string, string> vars = 7;
-
getVarsOrThrow
Extra information that will be bundled in the session token.
map<string, string> vars = 7;
-