Class UserIdentityPermission
java.lang.Object
com.mparticle.sdk.model.registration.UserIdentityPermission
-
Constructor Summary
ConstructorDescriptionUserIdentityPermission
(UserIdentity.Type type, Identity.Encoding encoding) UserIdentityPermission
(UserIdentity.Type type, Identity.Encoding encoding, boolean isRequired) -
Method Summary
-
Constructor Details
-
UserIdentityPermission
public UserIdentityPermission(UserIdentity.Type type, Identity.Encoding encoding, boolean isRequired) - Parameters:
type
- identity typeencoding
- identity encodingisRequired
- if set to true, users missing this identity will be ignored
-
UserIdentityPermission
- Parameters:
type
- identity typeencoding
- identity encoding
-
-
Method Details
-
getType
- Returns:
- user identity type
-
getEncoding
- Returns:
- user identity encoding
-
isRequired
public boolean isRequired()- Returns:
- true if identity is required
-