public static class ConstantsMCOP.GroupAffiliationEventExtras
extends java.lang.Object
ConstantsMCOP.ActionsCallBack.groupAffiliationEvent event.| Modifier and Type | Class and Description |
|---|---|
static class |
ConstantsMCOP.GroupAffiliationEventExtras.AffiliationOperationTypeEnum
Event used to indicate the affiliation action that must be used in method
org.mcopenplatform.muoapi.IMCOPsdk#groupAffiliationOperation(String, String, int). |
static class |
ConstantsMCOP.GroupAffiliationEventExtras.GroupAffiliationEventTypeEnum
Event types of GroupAffiliationEventExtras
|
static class |
ConstantsMCOP.GroupAffiliationEventExtras.GroupAffiliationStateEnum
Status types of the referenced group.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ERROR_CODE
Key Access to the affiliation error codes.
|
static java.lang.String |
ERROR_STRING
Key Access to the error string of the affiliation methods.
|
static java.lang.String |
EVENT_TYPE
Key Access to event type:
Value: Integer.
|
static java.lang.String |
GROUP_ID
Key Access to Group ID to know the group where the error occurred.
|
static java.lang.String |
GROUPS_LIST
Key Access to MAP
|
static java.lang.String |
REMOTE_ACTION_TYPE
Key Access to the type of action that is remotely requested to be performed.
|
static java.lang.String |
REMOTE_GROUP_ID
Key Access to the Group ID that univocally distinguishes the MCPTT group causing the event.
|
static java.lang.String |
REMOTE_USER_ID
Key Access to the User ID that univocally distinguishes the privileged MCPTT user making the explicit affiliation.
|
| Constructor and Description |
|---|
GroupAffiliationEventExtras() |
public static final java.lang.String GROUPS_LIST
This data is given in state ConstantsMCOP.GroupAffiliationEventExtras.GroupAffiliationEventTypeEnum.GROUP_AFFILIATION_UPDATE
Response: MAP
notaffiliated (Not affiliated, and therefore no action that requires being affiliated can be taken.) ConstantsMCOP.GroupAffiliationEventExtras.GroupAffiliationStateEnum.notaffiliated
affiliating (Affiliation procedure initiated.) ConstantsMCOP.GroupAffiliationEventExtras.GroupAffiliationStateEnum.affiliating
affiliated (Affiliated. All MCPTT procedures that require affiliation can be performed.) ConstantsMCOP.GroupAffiliationEventExtras.GroupAffiliationStateEnum.affiliated
deaffiliating (Deaffiliation procedure started.) ConstantsMCOP.GroupAffiliationEventExtras.GroupAffiliationStateEnum.deaffiliating
public static final java.lang.String EVENT_TYPE
Value: Integer.
Possible event types:
GROUP_AFFILIATION_UPDATE (Event to update the status of the groups and user's affiliation to them.) ConstantsMCOP.GroupAffiliationEventExtras.GroupAffiliationEventTypeEnum.GROUP_AFFILIATION_UPDATE
GROUP_AFFILIATION_ERROR (Error event in some affiliation procedure.) ConstantsMCOP.GroupAffiliationEventExtras.GroupAffiliationEventTypeEnum.GROUP_AFFILIATION_ERROR
REMOTE_AFFILIATION (Remote affiliation request by another privileged user. It is mandatory to present the user the option to join or not. In case the user wants to be affiliated, the operation org.mcopenplatform.muoapi.IMCOPsdk#groupAffiliationOperation(String, String, int) must be executed to affiliate the user to the group.) ConstantsMCOP.GroupAffiliationEventExtras.GroupAffiliationEventTypeEnum.REMOTE_AFFILIATION
public static final java.lang.String REMOTE_GROUP_ID
Response: String with URI format that identifies the MCPTT group.
Event ConstantsMCOP.GroupAffiliationEventExtras.GroupAffiliationEventTypeEnum.REMOTE_AFFILIATION is used to request the group.
public static final java.lang.String GROUP_ID
Response: String with URI format that identifies the MCPTT group.
Event ConstantsMCOP.GroupAffiliationEventExtras.GroupAffiliationEventTypeEnum.GROUP_AFFILIATION_ERROR is used.
public static final java.lang.String REMOTE_USER_ID
Response: String with URI format that identifies the MCPTT user.
Event ConstantsMCOP.GroupAffiliationEventExtras.GroupAffiliationEventTypeEnum.REMOTE_AFFILIATION is used to know the remote user requesting the explicit affiliation.
public static final java.lang.String REMOTE_ACTION_TYPE
Response: ConstantsMCOP.GroupAffiliationEventExtras.GroupAffiliationStateEnum.
Event ConstantsMCOP.GroupAffiliationEventExtras.GroupAffiliationEventTypeEnum.REMOTE_AFFILIATION is used to know the remote user requesting the explicit affiliation.
affiliating (It must be asked whether the user accepts the affiliation or not.) ConstantsMCOP.GroupAffiliationEventExtras.GroupAffiliationStateEnum.affiliating
deaffiliating (It must be asked whether the user accepts the de-affiliation or not.) ConstantsMCOP.GroupAffiliationEventExtras.GroupAffiliationStateEnum.deaffiliating
public static final java.lang.String ERROR_CODE
Response: Integer indicating the error code.
Values:
0 means no errors.
101 Non-existent group
102 Action not allowed
103 The user is not a member of the group
104 The group is not currently affiliate
105 The group already is affiliated
106 The group already is not affiliated
107 The group does not belong to the list of existing groups
108 We don't have information of affiliation
109 The group already is affiliating or deaffiliating
public static final java.lang.String ERROR_STRING
Response: String describing the error.