Package com.mparticle.identity
Class MParticleIdentityClientImpl
- java.lang.Object
-
- com.mparticle.networking.MParticleBaseClientImpl
-
- com.mparticle.identity.MParticleIdentityClientImpl
-
- All Implemented Interfaces:
MParticleIdentityClient
,MParticleBaseClient
public class MParticleIdentityClientImpl extends MParticleBaseClientImpl implements MParticleIdentityClient
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.mparticle.networking.MParticleBaseClientImpl
MParticleBaseClientImpl.Endpoint
-
-
Field Summary
-
Fields inherited from class com.mparticle.networking.MParticleBaseClientImpl
REQUEST_ID
-
-
Constructor Summary
Constructors Constructor Description MParticleIdentityClientImpl(android.content.Context context, com.mparticle.internal.ConfigManager configManager, MParticle.OperatingSystem operatingSystem)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getStringValue(MParticle.IdentityType identityType)
IdentityHttpResponse
identify(IdentityApiRequest request)
IdentityHttpResponse
login(IdentityApiRequest request)
IdentityHttpResponse
logout(IdentityApiRequest request)
IdentityHttpResponse
modify(IdentityApiRequest request)
-
Methods inherited from class com.mparticle.networking.MParticleBaseClientImpl
getHeaderDateString, getHeaderHashString, getNextRequestTime, getRequestHandler, getUrl, getUrl, getUrl, makeUrlRequest, makeUrlRequest, makeUrlRequest, makeUrlRequest, setRequestHandler
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.mparticle.networking.MParticleBaseClient
getRequestHandler, setRequestHandler
-
-
-
-
Constructor Detail
-
MParticleIdentityClientImpl
public MParticleIdentityClientImpl(android.content.Context context, com.mparticle.internal.ConfigManager configManager, MParticle.OperatingSystem operatingSystem)
-
-
Method Detail
-
login
public IdentityHttpResponse login(IdentityApiRequest request) throws org.json.JSONException, java.io.IOException
- Specified by:
login
in interfaceMParticleIdentityClient
- Throws:
org.json.JSONException
java.io.IOException
-
logout
public IdentityHttpResponse logout(IdentityApiRequest request) throws org.json.JSONException, java.io.IOException
- Specified by:
logout
in interfaceMParticleIdentityClient
- Throws:
org.json.JSONException
java.io.IOException
-
identify
public IdentityHttpResponse identify(IdentityApiRequest request) throws org.json.JSONException, java.io.IOException
- Specified by:
identify
in interfaceMParticleIdentityClient
- Throws:
org.json.JSONException
java.io.IOException
-
modify
public IdentityHttpResponse modify(IdentityApiRequest request) throws org.json.JSONException, java.io.IOException
- Specified by:
modify
in interfaceMParticleIdentityClient
- Throws:
org.json.JSONException
java.io.IOException
-
getStringValue
public static java.lang.String getStringValue(MParticle.IdentityType identityType)
-
-