From b068dc39eb532209abf6af0f038683d8fea6e556 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Fri, 5 Feb 2021 11:36:12 +0100 Subject: [PATCH] Update doc --- .../android/sdk/api/session/widgets/WidgetService.kt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/widgets/WidgetService.kt b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/widgets/WidgetService.kt index 037cd22b87..0310a3d001 100644 --- a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/widgets/WidgetService.kt +++ b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/widgets/WidgetService.kt @@ -97,10 +97,11 @@ interface WidgetService { ): LiveData> /** - * Creates a new widget in a room. It makes sure you have the rights to handle this. + * Creates and send a new widget in a room. It makes sure you have the rights to handle this. * - * @param roomId: the room where you want to deactivate the widget. - * @param widgetId: the widget to deactivate. + * @param roomId the room where you want to create the widget. + * @param widgetId the widget to create. + * @param content the content of the widget * @param callback the matrix callback to listen for result. * @return Cancelable */