diff --git a/lib/src/scripting_api/wot.dart b/lib/src/scripting_api/wot.dart index 207e0723..eb8b4c71 100644 --- a/lib/src/scripting_api/wot.dart +++ b/lib/src/scripting_api/wot.dart @@ -52,7 +52,13 @@ abstract interface class WoT { /// using the `await for` syntax. /// It also allows for stopping the Discovery process prematurely and /// for retrieving information about its current state (i.e., whether it is - /// still `active`). + /// still [ThingDiscovery.active]). + @Deprecated( + 'The discover method is curently in the process of being adjusted to the ' + 'latest Scripting API version and is therefore subject to change. ' + 'For direct and directory discovery, please refer to the ' + 'requestThingDescription and exploreDirectory methods instead.', + ) ThingDiscovery discover( Uri url, { ThingFilter? thingFilter,