README.txt 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. This package provides access to IP Multimedia Subsystem (IMS) functionality,
  2. especially making and taking VoLTE calls using IMS.
  3. At the moment, this only supports VoLTE calls which is compliant to GSMA IR.92 specification.
  4. For the additional information, you can refer the below standard specifications.
  5. - GSMA IR.92 : features for voice and sms profile
  6. - GSMA IR.94 : video calling feature
  7. - 3GPP TS 24.229 : IMS call control (SIP and SDP)
  8. - 3GPP TS 26.114 : IMS media handling and interaction
  9. - 3GPP TS 26.111 : Codec for CS multimedia telephony service (H.324)
  10. - 3GPP TS 24.623 : XCAP over the Ut interface for manipulating supplementary services
  11. (XCAP : XML Configuration Access Protocol)
  12. To get started, you need to get an instance of the ImsManager by calling ImsManager#getInstance().
  13. With the ImsManager, you can initiate VoLTE calls with ImsManager#makeCall()
  14. and ImsManager#takeCall(). Both methods require a ImsCall#Listener that
  15. receives callbacks when the state of the call changes, such as
  16. when the call is ringing, established, or ended.
  17. ImsManager#makeCall() requires an ImsCallProfile objects, representing the call properties
  18. of the local device. ImsCallProfile can creates by ImsManager
  19. using the specified service and call type.
  20. ImsCallProfile is created by referring GSMA IR.92, GSMA IR.94, 3GPP TS 24.229,
  21. 3GPP TS 26.114 and 3GPP TS 26.111.
  22. To receive calls, an IMS application MUST provide a BroadcastReceiver that
  23. has the ability to respond to an intent indicating that there is an incoming call.
  24. The default action for the incoming call intent is ImsManager#ACTION_IMS_INCOMING_CALL.
  25. And, the application frees to define the action for the incoming call intent.
  26. There are two packages for IMS APIs.
  27. - com.android.ims
  28. It provides the functionalities for the upper layer of IMS APIs.
  29. In this moment, it is used by the VoLTE Phone application.
  30. - com.android.ims.internal
  31. It provides the functionalities for the internal usage or lower layer of IMS APIs.
  32. It needs to be implemented by the IMS protocol solution vendor.
  33. == Classes for com.android.ims ==
  34. ImsManager
  35. Provides APIs for IMS services, such as initiating IMS calls, and provides access to
  36. the mobile operator's IMS network. This class is the starting point for any IMS actions.
  37. ImsCall
  38. Provides IMS voice / video calls over LTE network.
  39. ImsCallGroup
  40. Manages all IMS calls which are established hereafter the initial 1-to-1 call is established.
  41. It's for providing the dummy calls which are disconnected with the IMS network after
  42. merged or extended to the conference.
  43. ImsCallProfile
  44. Parcelable object to handle IMS call profile
  45. It provides the service and call type, the additional information related to the call.
  46. ImsConferenceState
  47. It provides the conference information (defined in RFC 4575) for IMS conference call.
  48. ImsConnectionStateListener
  49. It is a listener type for receiving notifications about changes to the IMS connection.
  50. It provides a state of IMS registration between UE and network, the service availability of
  51. the local device during IMS registered.
  52. ImsException
  53. It provides a general IMS-related exception.
  54. ImsReasonInfo
  55. It enables an application to get details on why a method call failed.
  56. ImsServiceClass
  57. It defines an identifier for each IMS service category.
  58. ImsStreamMediaProfile
  59. Parcelable object to handle IMS stream media profile.
  60. It provides the media direction, quality of audio and/or video.
  61. ImsUtInterface
  62. It provides APIs for the supplementary service settings using IMS (Ut interface, XCAP).
  63. == Classes for com.android.ims.internal ==
  64. CallGroup
  65. Wrapper class which has an ICallGroup interface.
  66. CallGroupBase
  67. Implements ICallGroup interface.
  68. Manages all calls which are established hereafter the initial 1-to-1 call is established.
  69. It's for providing the dummy calls which are disconnected with the IMS network after
  70. merged or extended to the conference.
  71. CallGroupManager
  72. Manages CallGroup objects.
  73. ICallGroup
  74. Provides the interface to manage all calls which are established hereafter the initial
  75. 1-to-1 call is established. It's for providing the dummy calls which are disconnected with
  76. the IMS network after merged or extended to the conference.
  77. ImsCallSession
  78. Provides the call initiation/termination, and media exchange between two IMS endpoints.
  79. It directly communicates with IMS service which implements the IMS protocol behavior.
  80. ImsStreamMediaSession
  81. Provides the APIs to control the media session, such as passing the surface object,
  82. controlling the camera (front/rear selection, zoom, brightness, ...) for a video calling.