doc(lib): comments for some API
This commit is contained in:
@@ -134,6 +134,9 @@ class NearbyAndroidDevice extends NearbyDevice {
|
||||
}
|
||||
}
|
||||
|
||||
///
|
||||
/// Implementation of [NearbyDeviceMapper] for Android.
|
||||
///
|
||||
class NearbyAndroidMapper implements NearbyDeviceMapper {
|
||||
@override
|
||||
List<NearbyDevice> mapToDeviceList(dynamic value) {
|
||||
|
||||
@@ -19,6 +19,10 @@ class NearbyAndroidService extends NearbyService {
|
||||
return _socketService.state;
|
||||
}
|
||||
|
||||
///
|
||||
/// The connection information of a Wi-Fi p2p group connection
|
||||
/// from the socket service.
|
||||
///
|
||||
NearbyConnectionAndroidInfo? get connectionInfo {
|
||||
return _socketService.connectionInfo;
|
||||
}
|
||||
|
||||
@@ -69,6 +69,9 @@ class NearbyIOSDevice extends NearbyDevice {
|
||||
}
|
||||
}
|
||||
|
||||
///
|
||||
/// Implementation of [NearbyDeviceMapper] for IOS.
|
||||
///
|
||||
class NearbyIOSMapper implements NearbyDeviceMapper {
|
||||
@override
|
||||
List<NearbyDevice> mapToDeviceList(dynamic value) {
|
||||
|
||||
@@ -80,6 +80,10 @@ class NearbyAndroidCommunicationChannelData {
|
||||
/// Listener of events that come to the server.
|
||||
///
|
||||
final ValueChanged<HttpRequest>? serverListener;
|
||||
|
||||
///
|
||||
/// The port on which the socket will be created.
|
||||
///
|
||||
final int port;
|
||||
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user