@@ -57,8 +57,8 @@ namespace WPEFramework
57
57
58
58
enum StopReasonCode : uint16_t
59
59
{
60
- STOP_REASON_APP_REQ_FOR_EXIT = 301 /* @text APP_REQ_TO_STOP_ON_EXIT */ ,
61
- STOP_REASON_APP_REQ_FOR_NEW_CONNECTION = 302 /* @text APP_REQ_TO_STOP_ON_NEW_CONNECTION */
60
+ STOP_REASON_APP_REQ_FOR_EXIT = 300 /* @text APP_REQ_TO_STOP_ON_EXIT */ ,
61
+ STOP_REASON_APP_REQ_FOR_NEW_CONNECTION = 301 /* @text APP_REQ_TO_STOP_ON_NEW_CONNECTION */
62
62
};
63
63
64
64
enum LogLevel : uint8_t
@@ -118,7 +118,7 @@ namespace WPEFramework
118
118
// @param playerState: Current state of the player (e.g., INITIATED | INPROGRESS | PLAYING | STOPPED/IDLE(Default State).)
119
119
// @param reasonCode: Reason code for the player state update
120
120
// @param reason: reason code Decription
121
- virtual void OnStateChange (const string &clientName /* @text name */ , const string &clientMac /* @text mac */ , const State &playerState /* @text state */ , const ReasonCode &reasonCode /* @text reason */ , const string &reasonCodeStr /* @text reason_code */ ) {};
121
+ virtual void OnStateChange (const string &clientName /* @text name */ , const string &clientMac /* @text mac */ , const State &playerState /* @text state */ , const string &reasonCode /* @text reason_code */ , const ReasonCode &reasonDescription /* @text reason */ ) {};
122
122
};
123
123
124
124
// @json:omit
@@ -144,7 +144,7 @@ namespace WPEFramework
144
144
// @param reasonCode: Reason code for the player stop request
145
145
// @param reason: Reason for the player stop request
146
146
// @param success: Is the operation successful or not
147
- virtual Core::hresult StopRequest (const string &clientMac /* @in @text mac */ , const string &clientName /* @in @text name */ , const StopReasonCode &reasonCode /* @in @text reason_code */ , Result &returnPayload /* @out */ ) = 0;
147
+ virtual Core::hresult StopRequest (const string &clientMac /* @in @text mac */ , const string &clientName /* @in @text name */ , const int &reasonCode /* @in @text reason_code */ , Result &returnPayload /* @out */ ) = 0;
148
148
149
149
// @brief Set the Video Rectangle.
150
150
// @text setVideoRectangle
@@ -153,7 +153,7 @@ namespace WPEFramework
153
153
// @param width: Width of the rectangle
154
154
// @param height: Height of the rectangle
155
155
// @param success: Is the operation successful or not
156
- virtual Core::hresult SetVideoRectangle (const int32_t &startX /* @in @text X */ , const int32_t &startY /* @in @text Y */ , const int32_t &width /* @in @text W */ , const int32_t &height /* @in @text H */ , Result &returnPayload /* @out */ ) = 0;
156
+ virtual Core::hresult SetVideoRectangle (const int &startX /* @in @text X */ , const int &startY /* @in @text Y */ , const int &width /* @in @text W */ , const int &height /* @in @text H */ , Result &returnPayload /* @out */ ) = 0;
157
157
158
158
// @brief To Enable/Disable/Reduce the Logging level for Miracast
159
159
// @text setLogging
0 commit comments