You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apis/Miracast/IMiracastService.h
+22-21Lines changed: 22 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,8 @@ namespace WPEFramework
59
59
string logStatus /* @text status *//* @brief Whether ENABLE or DISABLE the separate logging */;
60
60
};
61
61
62
-
structEXTERNAL Result {
62
+
structEXTERNAL Result
63
+
{
63
64
string message /* @text message *//* @brief reason for success or failure */;
64
65
bool success;
65
66
};
@@ -69,22 +70,22 @@ namespace WPEFramework
69
70
{
70
71
enum { ID = ID_MIRACAST_SERVICE_NOTIFICATION };
71
72
72
-
// @brief Notifies when a Miracast source device wants to connect
73
+
// @brief Triggered when the Miracast Service plugin receives a new connection request from a client
73
74
// @text onClientConnectionRequest
74
75
// @param clientMac: MacAddress of the client device
75
76
// @param clientName: Name of the client device
76
77
virtualvoidOnClientConnectionRequest(const string &clientMac /* @text mac */, const string &clientName /* @text name */) {};
77
78
78
-
// @brief Notifies when a Miracast source device wants to connect
79
+
// @brief It is triggered when the Miracast Service plugin failed to connect with the source streaming device due to some error, like P2P related errors during activation or while streaming
79
80
// @text onClientConnectionError
80
81
// @param clientMac: MacAddress of the client device
81
82
// @param clientName: Name of the client device
82
83
// @param errorCode: Error code for the connection failure
83
84
// @param reason: Reason for the connection failure
0 commit comments