@@ -113,7 +113,7 @@ namespace WPEFramework
113
113
// @text setEnable
114
114
// @param enabled: Is the MiracastService discovery enabled or not
115
115
// @param success: Is the operation successful or not
116
- virtual Core::hresult SetEnabled (const bool &enabled /* @in @text enabled */ , Result &returnPayload /* @out */ ) = 0;
116
+ virtual Core::hresult SetEnabled (const bool &enabled /* @in @text enabled */ , Result &result /* @out */ ) = 0;
117
117
118
118
// @brief To get the enable status of the Miracast feature
119
119
// @text getEnable
@@ -125,14 +125,14 @@ namespace WPEFramework
125
125
// @text acceptClientConnection
126
126
// @param requestStatus: It should be "Accept" or "Reject"
127
127
// @param success: Is the operation successful or not
128
- virtual Core::hresult AcceptClientConnection (const string &requestStatus /* @in @text requestStatus */ , Result &returnPayload /* @out */ ) = 0;
128
+ virtual Core::hresult AcceptClientConnection (const string &requestStatus /* @in @text requestStatus */ , Result &result /* @out */ ) = 0;
129
129
130
130
// @brief To abort the ongoing connection after accepted connection request
131
131
// @text stopClientConnection
132
132
// @param clientMac: MacAddress of the client device
133
133
// @param clientName: Name of the client device
134
134
// @param success: Is the operation successful or not
135
- virtual Core::hresult StopClientConnection (const string &clientMac /* @in @text mac */ , const string &clientName /* @in @text name */ , Result &returnPayload /* @out */ ) = 0;
135
+ virtual Core::hresult StopClientConnection (const string &clientMac /* @in @text mac */ , const string &clientName /* @in @text name */ , Result &result /* @out */ ) = 0;
136
136
137
137
// @brief Update the Miracast Player State to the Miracast Service Plugin
138
138
// @text updatePlayerState
@@ -141,13 +141,13 @@ namespace WPEFramework
141
141
// @param reasonCode: Reason code for the player state update
142
142
// @param reason: Reason for the player state update
143
143
// @param success: Is the operation successful or not
144
- virtual Core::hresult UpdatePlayerState (const string &clientMac /* @in @text mac */ , const PlayerState &playerState /* @in @text state */ , const int &reasonCode /* @in @text reason_code */ , Result &returnPayload /* @out */ ) = 0;
144
+ virtual Core::hresult UpdatePlayerState (const string &clientMac /* @in @text mac */ , const PlayerState &playerState /* @in @text state */ , const int &reasonCode /* @in @text reason_code */ , Result &result /* @out */ ) = 0;
145
145
146
146
// @brief Sets the status of the MiracastService backend discovery
147
147
// @text setP2PBackendDiscovery
148
148
// @param enabled: Is the MiracastService backend discovery enabled or not
149
149
// @param success: Is the operation successful or not
150
- virtual Core::hresult SetP2PBackendDiscovery (const bool &enabled /* @in @text enabled */ , Result &returnPayload /* @out */ ) = 0;
150
+ virtual Core::hresult SetP2PBackendDiscovery (const bool &enabled /* @in @text enabled */ , Result &result /* @out */ ) = 0;
151
151
};
152
152
} // namespace Exchange
153
153
} // namespace WPEFramework
0 commit comments