public interface IMCOPsdk
extends android.os.IInterface
https://developer.android.com/guide/components/aidl.html
Used as a callback for MCOP SDK server-client communication, and for MCPTT (Mission Critical Push to Talk) Services.| Modifier and Type | Interface and Description |
|---|---|
static class |
IMCOPsdk.Stub
Local-side IPC implementation stub class.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptCall(java.lang.String sessionID)
Accept an incoming MCPTT sesion.
|
boolean |
authorizeUser(java.lang.String url)
Once the authentication procedure has been carried out against a third party,
this method must be called to continue with the Login process started
with loginMCOP() method, defined in this AIDL.
|
boolean |
changeSelectedContact(java.lang.String groupID)
Select default contact (user or group).
|
boolean |
floorControlOperation(java.lang.String sessionID,
int requestType,
java.lang.String UserID)
Perform floor control operations over MCPTT sessions.
|
java.lang.String |
getMCOPCapabilities() |
boolean |
groupAffiliationOperation(java.lang.String groupMcpttId,
int affiliationOperation)
Perform a group affiliation operation.
|
boolean |
hangUpCall(java.lang.String sessionID)
Hang up an incoming, established or initiated MCPTT session.
|
boolean |
loginMCOP()
This method starts the MCPTT System Login procedure.
|
boolean |
makeCall(java.lang.String userID,
int callType)
Method to make MCPTT type calls.
|
boolean |
registerCallback(IMCOPCallback mcopCallBack)
Register the callback defined by AIDL so that the SDK can send asynchronous events to the user.
|
boolean |
unLoginMCOP()
This method starts the MCPTT System unLogin procedure.
|
boolean |
updateEmergencyState(java.lang.String sessionID,
int emergencyType)
Update the emergency state of a particular session.
|
boolean |
updateGroupsAffiliation()
Requests group affiliation information to the SDK,
generating a type
ConstantsMCOP.ActionsCallBack.groupAffiliationEvent event callback. |
boolean |
updateGroupsInfo()
Requests group information to the SDK,
generating a type
ConstantsMCOP.ActionsCallBack.groupInfoEvent event callback. |
java.lang.String getMCOPCapabilities()
throws android.os.RemoteException
android.os.RemoteExceptionboolean loginMCOP()
throws android.os.RemoteException
android.os.RemoteExceptionorg.mcopenplatform.muoapi.ConstantsMCOP.AuthorizationRequestExtras (Definition of all the asynchronous response values of this method),
org.mcopenplatform.muoapi.ConstantsMCOP.LoginEventExtras (Definition of all the asynchronous response values of this method and the errors)boolean unLoginMCOP()
throws android.os.RemoteException
android.os.RemoteExceptionorg.mcopenplatform.muoapi.ConstantsMCOP.AuthorizationRequestExtras (Definition of all the asynchronous response values of this method),
org.mcopenplatform.muoapi.ConstantsMCOP.LoginEventExtras (Definition of all the asynchronous response values of this method and the errors)boolean authorizeUser(java.lang.String url)
throws android.os.RemoteException
url. - String with URL format where the parameters are indicated so that the SDK can authenticate the user.android.os.RemoteExceptionorg.mcopenplatform.muoapi.ConstantsMCOP.AuthorizationRequestExtras (Definition of all the asynchronous response values of this method and the errors),
org.mcopenplatform.muoapi.ConstantsMCOP.LoginEventExtras (Definition of all the asynchronous response values of this method and the errors)boolean makeCall(java.lang.String userID,
int callType)
throws android.os.RemoteException
org.mcopenplatform.muoapi.ConstantsMCOP.CallTypeEnumuserID. - String to identify the MCOP system user or group to call. If no identity is indicated, the selected contact will be called.callType. - Integer that contains a series of FLAGs indicating the services for the new MCPTT session.android.os.RemoteExceptionorg.mcopenplatform.muoapi.ConstantsMCOP.CallTypeEnum (Definition of the MCPTT Services a call may contain),
org.mcopenplatform.muoapi.ConstantsMCOP.CallEventExtras (Definition of the different asynchronous responses this method can have through the callback)boolean hangUpCall(java.lang.String sessionID)
throws android.os.RemoteException
sessionID. - Identifier of the specific MCPTT session where the specific action is carried out.android.os.RemoteExceptionboolean acceptCall(java.lang.String sessionID)
throws android.os.RemoteException
sessionID. - Identifier of the specific MCPTT session where the specific action is carried out.android.os.RemoteExceptionboolean updateEmergencyState(java.lang.String sessionID,
int emergencyType)
throws android.os.RemoteException
sessionID. - Identifier of the specific MCPTT session to be updated.emergencyType. - New emergency state of the session. It must be type ConstantsMCOP.EmergencyTypeEnumandroid.os.RemoteExceptionConstantsMCOP.EmergencyTypeEnumboolean floorControlOperation(java.lang.String sessionID,
int requestType,
java.lang.String UserID)
throws android.os.RemoteException
sessionID - Identifier of the specific MCPTT session where the specific action is carried out.requestType - Type of action to be performed. It must be type ConstantsMCOP.FloorControlEventExtras.FloorControlOperationTypeEnumUserID - To be used in Video sessions, indicating the specific user to receive video from.android.os.RemoteExceptionboolean updateGroupsInfo()
throws android.os.RemoteException
ConstantsMCOP.ActionsCallBack.groupInfoEvent event callback.android.os.RemoteExceptionboolean updateGroupsAffiliation()
throws android.os.RemoteException
ConstantsMCOP.ActionsCallBack.groupAffiliationEvent event callback.android.os.RemoteExceptionboolean groupAffiliationOperation(java.lang.String groupMcpttId,
int affiliationOperation)
throws android.os.RemoteException
groupMcpttId. - Unequivocally identifies the group on which the operation is carried out. The group list will be received in the event ConstantsMCOP.ActionsCallBack.groupAffiliationEventaffiliationOperation. - Operation to perform on the indicated group. Allowed actions: ConstantsMCOP.GroupAffiliationEventExtras.AffiliationOperationTypeEnum.android.os.RemoteExceptionboolean changeSelectedContact(java.lang.String groupID)
throws android.os.RemoteException
groupID. - Unequivocal identifier of the MCPTT group defined for default MCPTT sessions.android.os.RemoteExceptionboolean registerCallback(IMCOPCallback mcopCallBack) throws android.os.RemoteException
mcopCallBack. - Callback where the different events are sent.android.os.RemoteExceptionConstantsMCOP.ActionsCallBack