Skip to content

Commit fb71e0b

Browse files
RDKEMW-1017: Renamed returnPayload as result in MiracastService
Signed-off-by: yuvaramachandran_gurusamy <[email protected]>
1 parent b4caeab commit fb71e0b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

apis/Miracast/IMiracastService.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ namespace WPEFramework
113113
// @text setEnable
114114
// @param enabled: Is the MiracastService discovery enabled or not
115115
// @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;
117117

118118
// @brief To get the enable status of the Miracast feature
119119
// @text getEnable
@@ -125,14 +125,14 @@ namespace WPEFramework
125125
// @text acceptClientConnection
126126
// @param requestStatus: It should be "Accept" or "Reject"
127127
// @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;
129129

130130
// @brief To abort the ongoing connection after accepted connection request
131131
// @text stopClientConnection
132132
// @param clientMac: MacAddress of the client device
133133
// @param clientName: Name of the client device
134134
// @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;
136136

137137
// @brief Update the Miracast Player State to the Miracast Service Plugin
138138
// @text updatePlayerState
@@ -141,13 +141,13 @@ namespace WPEFramework
141141
// @param reasonCode: Reason code for the player state update
142142
// @param reason: Reason for the player state update
143143
// @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;
145145

146146
// @brief Sets the status of the MiracastService backend discovery
147147
// @text setP2PBackendDiscovery
148148
// @param enabled: Is the MiracastService backend discovery enabled or not
149149
// @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;
151151
};
152152
} // namespace Exchange
153153
} // namespace WPEFramework

0 commit comments

Comments
 (0)