Samsung / TizenFX

C# Device APIs for Tizen

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wifi method signature

Kamil-Stepaniuk opened this issue · comments

There is unnecessary casting in class Tizen.Network.WiFi.WiFiAP in methods: ConnectAsync() and ConnectWpsAsync(...). Both methods actually returns Task but signature is Task. Return info is important here.

It is intented, These apis not return meaningful value. if connection was failed, exception was raised instead of returning value.
Actually, We need to use TaskCompletionSource, but it is not provide for Task