Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3f2e7a9e authored by Suresh Koleti's avatar Suresh Koleti Committed by Linux Build Service Account
Browse files

IMS: Add support for video quality

- Add Config interface to get/set video quality

Change-Id: I1f0661f81967005c82e249ba6c56115f673791d9
parent 956d6951
Loading
Loading
Loading
Loading
+23 −1
Original line number Diff line number Diff line
@@ -48,4 +48,26 @@ oneway interface ImsConfigListener {
     * @return void.
     */
    void onSetFeatureResponse(int feature, int network, int value, int status);

    /**
     * Notifies client the value of the get operation result on the video quality item.
     *
     * @param status. as defined in com.android.ims.ImsConfig#OperationStatusConstants.
     * @param quality. as defined in com.android.ims.ImsConfig#OperationValuesConstants.
     * @return void
     *
     * @throws ImsException if calling the IMS service results in an error.
     */
     void onGetVideoQuality(int status, int quality);

    /**
     * Notifies client the set value operation result for video quality item.
     * Used by clients that need to be notified the set operation result.
     *
     * @param status. as defined in com.android.ims.ImsConfig#OperationStatusConstants.
     * @return void
     *
     * @throws ImsException if calling the IMS service results in an error.
     */
     void onSetVideoQuality(int status);
}
+20 −0
Original line number Diff line number Diff line
@@ -112,4 +112,24 @@ interface IImsConfig {
     * @return void
     */
    oneway void setFeatureValue(int feature, int network, int value, ImsConfigListener listener);

    /**
     *
     * Gets the value for ims fature item video quality.
     *
     * @param listener. Video quality value returned asynchronously through listener.
     * @return void
     */
    oneway void getVideoQuality(ImsConfigListener listener);

    /**
     * Sets the value for IMS feature item video quality.
     *
     * @param quality, defines the value of video quality.
     * @param listener, provided if caller needs to be notified for set result.
     * @return void
     *
     * @throws ImsException if calling the IMS service results in an error.
     */
     oneway void setVideoQuality(int quality, ImsConfigListener listener);
}