2 * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 using System.Collections.Generic;
19 using System.ComponentModel;
21 namespace Tizen.Network.Bluetooth
24 /// An extended EventArgs class contains the changed Bluetooth state.
26 /// <since_tizen> 3 </since_tizen>
27 public class StateChangedEventArgs : EventArgs
29 private BluetoothState _type;
30 private BluetoothError _result;
32 internal StateChangedEventArgs(BluetoothError result, BluetoothState type)
39 /// The state of Bluetooth.
41 /// <since_tizen> 3 </since_tizen>
42 public BluetoothState BTState
51 /// The BluetoothError result.
53 /// <since_tizen> 3 </since_tizen>
54 public BluetoothError Result
64 /// An extended EventArgs class contains the changed Bluetooth name.
66 /// <since_tizen> 3 </since_tizen>
67 public class NameChangedEventArgs : EventArgs
71 internal NameChangedEventArgs(string name)
77 /// The name of the device.
79 /// <since_tizen> 3 </since_tizen>
80 public string DeviceName
90 /// An extended EventArgs class contains the changed Bluetooth visibility mode.
92 /// <since_tizen> 3 </since_tizen>
93 public class VisibilityModeChangedEventArgs : EventArgs
95 private VisibilityMode _mode;
96 private BluetoothError _result;
98 internal VisibilityModeChangedEventArgs(BluetoothError result, VisibilityMode mode)
105 /// The visibility mode.
107 /// <since_tizen> 3 </since_tizen>
108 public VisibilityMode Visibility
117 /// The BluetoothError result.
119 /// <since_tizen> 3 </since_tizen>
120 public BluetoothError Result
130 /// An extended EventArgs class contains the duration until the visibility mode is changed from TimeLimitedDiscoverable to NonDiscoverable.
132 /// <since_tizen> 3 </since_tizen>
133 public class VisibilityDurationChangedEventArgs : EventArgs
135 private int _duration;
137 internal VisibilityDurationChangedEventArgs(int duration)
139 _duration = duration;
145 /// <since_tizen> 3 </since_tizen>
156 /// An extended EventArgs class contains the changed Bluetooth device discovery state and the discovered device information.
158 /// <since_tizen> 3 </since_tizen>
159 public class DiscoveryStateChangedEventArgs : EventArgs
161 private BluetoothError _result;
162 private BluetoothDeviceDiscoveryState _state;
163 private BluetoothDevice _device;
165 internal DiscoveryStateChangedEventArgs(BluetoothError result, BluetoothDeviceDiscoveryState state)
171 internal DiscoveryStateChangedEventArgs(BluetoothError result, BluetoothDeviceDiscoveryState state, BluetoothDevice device)
179 /// The BluetoothError result.
181 /// <since_tizen> 3 </since_tizen>
182 public BluetoothError Result
191 /// The state of the discovery.
193 /// <since_tizen> 3 </since_tizen>
194 public BluetoothDeviceDiscoveryState DiscoveryState
203 /// The remote device found.
205 /// <since_tizen> 3 </since_tizen>
206 public BluetoothDevice DeviceFound
216 /// An extended EventArgs class contains the bonded device information.
218 /// <since_tizen> 3 </since_tizen>
219 public class BondCreatedEventArgs : EventArgs
221 private BluetoothError _result;
222 private BluetoothDevice _device;
224 internal BondCreatedEventArgs(BluetoothError result, BluetoothDevice device)
231 /// The BluetoothError result.
233 /// <since_tizen> 3 </since_tizen>
234 public BluetoothError Result
243 /// The remote device.
245 /// <since_tizen> 3 </since_tizen>
246 public BluetoothDevice Device
256 /// An extended EventArgs class contains the address of the remote Bluetooth device to destroy bond with.
258 /// <since_tizen> 3 </since_tizen>
259 public class BondDestroyedEventArgs : EventArgs
261 private BluetoothError _result;
262 private string _address;
264 internal BondDestroyedEventArgs(BluetoothError result, string address)
271 /// The BluetoothError result.
273 /// <since_tizen> 3 </since_tizen>
274 public BluetoothError Result
283 /// The remote device address.
285 /// <value>The device address.</value>
286 /// <since_tizen> 3 </since_tizen>
287 public string DeviceAddress
297 /// An extended EventArgs class contains the authorization state and the address of the remote Bluetooth device.
299 /// <since_tizen> 3 </since_tizen>
300 public class AuthorizationChangedEventArgs : EventArgs
302 private BluetoothAuthorizationType _authType;
303 private string _address;
305 internal AuthorizationChangedEventArgs(BluetoothAuthorizationType authType, string address)
307 _authType = authType;
312 /// The authorization.
314 /// <since_tizen> 3 </since_tizen>
315 public BluetoothAuthorizationType Authorization
324 /// The device address.
326 /// <since_tizen> 3 </since_tizen>
327 public string DeviceAddress
338 /// An extended EventArgs class contains the service lists found on the remote Bluetooth device.
340 /// <since_tizen> 3 </since_tizen>
341 public class ServiceSearchedEventArgs : EventArgs
343 private BluetoothDeviceSdpData _sdpData;
344 private BluetoothError _result;
346 internal ServiceSearchedEventArgs(BluetoothError result, BluetoothDeviceSdpData sdpData)
353 /// The BluetoothError result.
355 /// <since_tizen> 3 </since_tizen>
356 public BluetoothError Result
366 /// <since_tizen> 3 </since_tizen>
367 public BluetoothDeviceSdpData SdpData
377 /// An extended EventArgs class contains the connection state and the connection information of the remote device.
379 /// <since_tizen> 3 </since_tizen>
380 public class DeviceConnectionStateChangedEventArgs : EventArgs
382 private bool _isConnected;
383 private BluetoothDeviceConnectionData _connectionData;
385 internal DeviceConnectionStateChangedEventArgs(bool isConnected, BluetoothDeviceConnectionData connectionData)
387 _isConnected = isConnected;
388 _connectionData = connectionData;
392 /// A value indicating whether the device is connected.
394 /// <since_tizen> 3 </since_tizen>
395 public bool IsConnected => _isConnected;
398 /// The device connection data.
400 /// <since_tizen> 3 </since_tizen>
401 public BluetoothDeviceConnectionData ConnectionData
405 return _connectionData;
411 /// An extended EventArgs class contains the data received information.
413 /// <since_tizen> 3 </since_tizen>
414 public class SocketDataReceivedEventArgs : EventArgs
416 private SocketData _data;
418 internal SocketDataReceivedEventArgs(SocketData data)
426 /// <since_tizen> 3 </since_tizen>
427 public SocketData Data
437 /// An extended EventArgs class contains the changed connection state.
439 /// <since_tizen> 3 </since_tizen>
440 public class SocketConnectionStateChangedEventArgs : EventArgs
442 private BluetoothError _result;
443 private BluetoothSocketState _state;
444 private SocketConnection _connection;
446 internal SocketConnectionStateChangedEventArgs(BluetoothError result, BluetoothSocketState state, SocketConnection connection)
450 _connection = connection;
454 /// The BluetoothError result.
456 /// <since_tizen> 3 </since_tizen>
457 public BluetoothError Result
466 /// The socket state.
468 /// <since_tizen> 3 </since_tizen>
469 public BluetoothSocketState State
478 /// The socket connection.
480 /// <since_tizen> 3 </since_tizen>
481 public SocketConnection Connection
491 /// The AcceptStateChanged event is raised when the socket connection state is changed.
493 /// <since_tizen> 3 </since_tizen>
494 public class AcceptStateChangedEventArgs : EventArgs
496 private BluetoothError _result;
497 private BluetoothSocketState _state;
498 private SocketConnection _connection;
499 private IBluetoothServerSocket _server;
501 internal AcceptStateChangedEventArgs(BluetoothError result, BluetoothSocketState state, SocketConnection connection, BluetoothSocket server)
505 _connection = connection;
506 _server = (IBluetoothServerSocket)server;
510 /// The BluetoothError result.
512 /// <since_tizen> 3 </since_tizen>
513 public BluetoothError Result
522 /// The socket state.
524 /// <since_tizen> 3 </since_tizen>
525 public BluetoothSocketState State
534 /// The socket connection.
536 /// <since_tizen> 3 </since_tizen>
537 public SocketConnection Connection
546 /// The server socket instance.
548 /// <since_tizen> 3 </since_tizen>
549 [Obsolete("Deprecated since API level 6. Please use the 'Client' in the SocketConnection.")]
550 public IBluetoothServerSocket Server
560 /// An extended EventArgs class contains the socket connection requested.
562 /// <since_tizen> 6 </since_tizen>
563 [EditorBrowsable(EditorBrowsableState.Never)]
564 public class SocketConnectionRequestedEventArgs : EventArgs
566 internal SocketConnectionRequestedEventArgs(int socketFd, string remoteAddress)
569 RemoteAddress = remoteAddress;
575 /// <since_tizen> 6 </since_tizen>
576 internal int SocketFd
583 /// The remote address.
585 /// <since_tizen> 6 </since_tizen>
586 public string RemoteAddress
594 /// An extended EventArgs class contains the connection state, remote address, and the type of audio profile.
596 /// <since_tizen> 3 </since_tizen>
597 public class AudioConnectionStateChangedEventArgs : EventArgs
600 private bool _isConnected;
601 private string _address;
602 private BluetoothAudioProfileType _type;
604 internal AudioConnectionStateChangedEventArgs(int result, bool isConnected, string address, BluetoothAudioProfileType type)
608 _isConnected = isConnected;
615 /// <since_tizen> 3 </since_tizen>
625 /// A value indicating whether this instance is connected.
627 /// <since_tizen> 3 </since_tizen>
628 public bool IsConnected
639 /// <since_tizen> 3 </since_tizen>
640 public string Address
649 /// The type of the audio profile.
651 /// <since_tizen> 3 </since_tizen>
652 public BluetoothAudioProfileType ProfileType
662 /// An extended EventArgs class contains the connection state and the address of the remote Bluetooth device.
664 /// <since_tizen> 6 </since_tizen>
665 [EditorBrowsable(EditorBrowsableState.Never)]
666 public class AgScoStateChangedEventArgs : EventArgs
668 internal AgScoStateChangedEventArgs(bool isOpened)
674 /// A value indicating whether the state is connected.
676 /// <since_tizen> 6 </since_tizen>
685 /// An extended EventArgs class contains the connection state and the address of the remote Bluetooth device.
687 /// <since_tizen> 3 </since_tizen>
688 public class HidConnectionStateChangedEventArgs : EventArgs
691 private bool _isConnected;
692 private string _address;
694 internal HidConnectionStateChangedEventArgs(int result, bool isConnected, string address)
697 _isConnected = isConnected;
704 /// <since_tizen> 3 </since_tizen>
714 /// A value indicating whether this instance is connected.
716 /// <since_tizen> 3 </since_tizen>
717 public bool IsConnected
728 /// <since_tizen> 3 </since_tizen>
729 public string Address
739 /// An extended EventArgs class contains the connection state and the address of the remote Bluetooth device.
741 /// <since_tizen> 6 </since_tizen>
742 [EditorBrowsable(EditorBrowsableState.Never)]
743 public class HidDeviceConnectionStateChangedEventArgs : EventArgs
745 internal HidDeviceConnectionStateChangedEventArgs(bool isConnected, string address)
747 IsConnected = isConnected;
751 internal HidDeviceConnectionStateChangedEventArgs(int result, bool isConnected, string address)
754 IsConnected = isConnected;
765 /// A value indicating whether this instance is connected.
767 /// <since_tizen> 6 </since_tizen>
768 public bool IsConnected
777 /// <since_tizen> 6 </since_tizen>
778 public string Address
786 /// An extended EventArgs class contains the connection state and the address of the remote Bluetooth device.
788 /// <since_tizen> 6 </since_tizen>
789 [EditorBrowsable(EditorBrowsableState.Never)]
790 public class HidDeviceDataReceivedEventArgs : EventArgs
792 internal HidDeviceDataReceivedEventArgs(BluetoothHidDeviceReceivedData receivedData)
794 ReceivedData = receivedData;
800 /// <since_tizen> 6 </since_tizen>
801 public BluetoothHidDeviceReceivedData ReceivedData
809 /// An extended EventArgs class contains the changed equalizer state.
811 /// <since_tizen> 3 </since_tizen>
812 public class EqualizerStateChangedEventArgs : EventArgs
814 private EqualizerState _state;
816 internal EqualizerStateChangedEventArgs(EqualizerState state)
822 /// The state of the equalizer.
824 /// <since_tizen> 3 </since_tizen>
825 public EqualizerState State
835 /// An extended EventArgs class contains the changed repeat mode.
837 /// <since_tizen> 3 </since_tizen>
838 public class RepeatModeChangedEventArgs : EventArgs
840 private RepeatMode _mode;
842 internal RepeatModeChangedEventArgs(RepeatMode mode)
850 /// <since_tizen> 3 </since_tizen>
851 public RepeatMode Mode
861 /// An extended EventArgs class contains the changed shuffle mode.
863 /// <since_tizen> 3 </since_tizen>
864 public class ShuffleModeChangedeventArgs : EventArgs
866 private ShuffleMode _mode;
868 internal ShuffleModeChangedeventArgs(ShuffleMode mode)
874 /// The shuffle mode.
876 /// <since_tizen> 3 </since_tizen>
877 public ShuffleMode Mode
887 /// An extended EventArgs class contains the changed scan mode.
889 /// <since_tizen> 3 </since_tizen>
890 public class ScanModeChangedEventArgs : EventArgs
892 private ScanMode _mode;
894 internal ScanModeChangedEventArgs(ScanMode mode)
902 /// <since_tizen> 3 </since_tizen>
913 /// An extended EventArgs class contains the connection state and the remote device address.
915 /// <since_tizen> 3 </since_tizen>
916 public class TargetConnectionStateChangedEventArgs : EventArgs
918 private bool _isConnected;
919 private string _address;
921 internal TargetConnectionStateChangedEventArgs(bool isConnected, string address)
923 _isConnected = isConnected;
928 /// A value indicating whether this instance is connected.
930 /// <since_tizen> 3 </since_tizen>
931 public bool IsConnected
942 /// <since_tizen> 3 </since_tizen>
943 public string Address
953 /// An extended EventArgs class contains the connection state and the remote device address.
955 /// <since_tizen> 8 </since_tizen>
956 public class AvrcpControlConnectionChangedEventArgs : EventArgs
958 private bool _isConnected;
959 string _remoteAddress;
960 // Setting Values when Event is invoked
961 internal AvrcpControlConnectionChangedEventArgs(bool conn, string address)
964 _remoteAddress = address;
968 /// A value indicating whether this instance is connected.
970 /// <since_tizen> 8 </since_tizen>
971 public bool IsConnected
980 /// The remote address.
982 /// <since_tizen> 8 </since_tizen>
983 public string RemoteAddress
987 return _remoteAddress;
993 /// An extended EventArgs class contains the position.
995 /// <since_tizen> 8 </since_tizen>
996 public class PositionChangedEventArgs : EventArgs
999 internal PositionChangedEventArgs(uint pos)
1005 /// The current position in milliseconds.
1007 /// <since_tizen> 8 </since_tizen>
1008 public uint Position
1018 /// An extended EventArgs class contains the play state.
1020 /// <since_tizen> 8 </since_tizen>
1021 public class PlayStateChangedEventArgs : EventArgs
1023 private PlayerState _playState;
1024 internal PlayStateChangedEventArgs(PlayerState playState)
1026 _playState = playState;
1030 /// The current play state.
1032 /// <since_tizen> 8 </since_tizen>
1033 public PlayerState PlayState
1043 /// An extended EventArgs class contains the play state.
1045 /// <since_tizen> 8 </since_tizen>
1046 public class TrackInfoChangedEventArgs : EventArgs
1048 private Track _track;
1049 internal TrackInfoChangedEventArgs(Track Data)
1055 /// The current track data
1057 /// <since_tizen> 8 </since_tizen>
1058 public Track TrackData
1068 /// An extended EventArgs class contains the changed Bluetooth LE advertising state changed information.
1070 /// <since_tizen> 3 </since_tizen>
1071 public class AdvertisingStateChangedEventArgs : EventArgs
1073 private BluetoothLeAdvertisingState _state;
1074 private int _result;
1075 private IntPtr _advertiserHandle;
1077 //TODO : Add conversion code from IntPtr to BluetoothLeAdvertiser class later
1078 internal AdvertisingStateChangedEventArgs(int result, IntPtr advertiserHandle,
1079 BluetoothLeAdvertisingState state)
1082 _advertiserHandle = advertiserHandle;
1089 /// <since_tizen> 3 </since_tizen>
1099 /// The advertiser handle.
1101 /// <since_tizen> 3 </since_tizen>
1102 public IntPtr AdvertiserHandle
1106 return _advertiserHandle;
1111 /// The LE advertising state.
1113 /// <since_tizen> 3 </since_tizen>
1114 public BluetoothLeAdvertisingState State
1124 /// An extended EventArgs class contains the changed Bluetooth LE scan result information.
1126 /// <since_tizen> 3 </since_tizen>
1127 public class AdapterLeScanResultChangedEventArgs : EventArgs
1129 private BluetoothLeDevice _deviceData;
1130 private BluetoothError _result;
1132 internal AdapterLeScanResultChangedEventArgs(BluetoothError result, BluetoothLeDevice deviceData)
1134 _deviceData = deviceData;
1141 /// <since_tizen> 3 </since_tizen>
1142 public BluetoothError Result
1151 /// The LE device data.
1153 /// <since_tizen> 3 </since_tizen>
1154 public BluetoothLeDevice DeviceData
1164 /// An extended EventArgs class contains the changed Bluetooth LE GATT connection state.
1166 /// <since_tizen> 3 </since_tizen>
1167 public class GattConnectionStateChangedEventArgs : EventArgs
1169 private bool _isConnected;
1170 private int _result;
1171 private string _remoteAddress;
1173 internal GattConnectionStateChangedEventArgs(int result, bool connected, string remoteAddress)
1175 _isConnected = connected;
1177 _remoteAddress = remoteAddress;
1183 /// <since_tizen> 3 </since_tizen>
1193 /// A value indicating whether this instance is connected.
1195 /// <since_tizen> 3 </since_tizen>
1196 public bool IsConnected
1200 return _isConnected;
1205 /// The remote address.
1207 /// <since_tizen> 3 </since_tizen>
1208 public string RemoteAddress
1212 return _remoteAddress;
1218 /// An extended EventArgs class contains the changed MTU value.
1220 /// <since_tizen> 8 </since_tizen>
1221 [EditorBrowsable(EditorBrowsableState.Never)]
1222 public class AttMtuChangedEventArgs : EventArgs
1224 internal AttMtuChangedEventArgs(string remoteAddress, int mtu)
1226 RemoteAddress = remoteAddress;
1231 /// The remote address.
1233 /// <since_tizen> 8 </since_tizen>
1234 public string RemoteAddress { get; }
1239 /// <since_tizen> 8 </since_tizen>
1240 public int Mtu { get; }
1244 /// An extended EventArgs class contains the changed attribute value.
1246 /// <since_tizen> 3 </since_tizen>
1247 public class ValueChangedEventArgs : EventArgs
1249 internal ValueChangedEventArgs(IntPtr value, int len)
1251 Value = new byte[len];
1254 for (int i = 0; i < len; i++)
1256 Value[i] = *((byte*)value.ToPointer() + i);
1262 /// The attribute value.
1264 /// <since_tizen> 3 </since_tizen>
1265 public byte[] Value { get; }
1269 /// An extended EventArgs class contains the read value request data.
1271 /// <since_tizen> 3 </since_tizen>
1272 public class ReadRequestedEventArgs : EventArgs
1274 internal ReadRequestedEventArgs(BluetoothGattServer server, string clientAddress, int requestId, int offset)
1277 ClientAddress = clientAddress;
1278 RequestId = requestId;
1283 /// The GATT server instance.
1285 /// <since_tizen> 3 </since_tizen>
1286 public BluetoothGattServer Server { get; }
1288 /// The client address.
1290 /// <since_tizen> 3 </since_tizen>
1291 public string ClientAddress { get; }
1293 /// The request identifier.
1295 /// <since_tizen> 3 </since_tizen>
1296 public int RequestId { get; }
1300 /// <since_tizen> 3 </since_tizen>
1301 public int Offset { get; }
1305 /// An extended EventArgs class contains the read value request data.
1307 /// <since_tizen> 3 </since_tizen>
1308 public class WriteRequestedEventArgs : EventArgs
1310 internal WriteRequestedEventArgs(BluetoothGattServer server, string clientAddress, int requestId, byte[] value, int offset, bool response_needed)
1313 ClientAddress = clientAddress;
1314 RequestId = requestId;
1317 Response_needed = response_needed;
1321 /// The GATT server instance.
1323 /// <since_tizen> 3 </since_tizen>
1324 public BluetoothGattServer Server { get; }
1326 /// The client address.
1328 /// <since_tizen> 3 </since_tizen>
1329 public string ClientAddress { get; }
1331 /// The request identifier.
1333 /// <since_tizen> 3 </since_tizen>
1334 public int RequestId { get; }
1338 /// <since_tizen> 3 </since_tizen>
1339 public byte[] Value { get; }
1343 /// <since_tizen> 3 </since_tizen>
1344 public int Offset { get; }
1346 /// Indicates whether a response is required by the remote device.
1348 /// <since_tizen> 3 </since_tizen>
1349 public bool Response_needed { get; }
1353 /// An extended EventArgs class contains the client preference to enable or disable the Notification/Indication.
1355 /// <since_tizen> 3 </since_tizen>
1356 public class NotificationStateChangedEventArg : EventArgs
1358 internal NotificationStateChangedEventArg(BluetoothGattServer server, bool value)
1365 /// The GATT server instance.
1367 /// <since_tizen> 3 </since_tizen>
1368 public BluetoothGattServer Server { get; }
1370 /// A value indicating whether the notification is enabled.
1372 /// <since_tizen> 3 </since_tizen>
1373 public bool Value { get; }
1377 /// An extended EventArgs class contains the read value request data.
1379 /// <since_tizen> 3 </since_tizen>
1380 public class NotificationSentEventArg : EventArgs
1382 internal NotificationSentEventArg(BluetoothGattServer server, string clientAddress, int result, bool completed)
1385 ClientAddress = clientAddress;
1387 Completed = completed;
1391 /// The GATT server instance.
1393 /// <since_tizen> 3 </since_tizen>
1394 public BluetoothGattServer Server { get; internal set; }
1396 /// The client address.
1398 /// <since_tizen> 3 </since_tizen>
1399 public string ClientAddress { get; }
1403 /// <since_tizen> 3 </since_tizen>
1404 public int Result { get; }
1406 /// Gets a value indicating whether the notification sent is completed.
1408 /// <since_tizen> 3 </since_tizen>
1409 public bool Completed { get; }
1413 /// An extended EventArgs class which contains the connection state and address of the remote Bluetooth device.
1415 /// <since_tizen> 4 </since_tizen>
1416 public class ConnectionRequestedEventArgs : EventArgs
1418 private string _address;
1420 internal ConnectionRequestedEventArgs(string address)
1428 /// <since_tizen> 4 </since_tizen>
1429 public string Address
1439 /// An extended EventArgs class which contains the file transfer progress state, file transfer progress by percent.
1441 /// <since_tizen> 4 </since_tizen>
1442 public class TransferProgressEventArgs : EventArgs
1444 private string _file;
1446 private int _percent;
1448 internal TransferProgressEventArgs(string file, long size, int percent)
1458 /// <since_tizen> 4 </since_tizen>
1470 /// <since_tizen> 4 </since_tizen>
1480 /// The File transfer percent.
1482 /// <since_tizen> 4 </since_tizen>
1493 /// An extended EventArgs class which contains the file transfer finished state and file state.
1495 /// <since_tizen> 4 </since_tizen>
1496 public class TransferFinishedEventArgs : EventArgs
1498 private string _file;
1500 private int _result;
1502 internal TransferFinishedEventArgs(int result, string file, long size)
1512 /// <since_tizen> 4 </since_tizen>
1524 /// <since_tizen> 4 </since_tizen>
1534 /// The return value.
1536 /// <since_tizen> 4 </since_tizen>
1547 /// An extended EventArgs class which contains the Push Request respond state
1549 /// <since_tizen> 4 </since_tizen>
1550 public class PushRespondedEventArgs : EventArgs
1555 internal PushRespondedEventArgs(int result, string address)
1562 /// The return value.
1564 /// <since_tizen> 4 </since_tizen>
1576 /// <since_tizen> 4 </since_tizen>
1577 public string Address
1587 /// An extended EventArgs class which contains the file push progress state, push progress by percent.
1589 /// <since_tizen> 4 </since_tizen>
1590 public class PushProgressEventArgs : EventArgs
1592 private string _file;
1594 private int _percent;
1596 internal PushProgressEventArgs(string file, long size, int percent)
1606 /// <since_tizen> 4 </since_tizen>
1618 /// <since_tizen> 4 </since_tizen>
1628 /// The File transfer percent.
1630 /// <since_tizen> 4 </since_tizen>
1641 /// An extended EventArgs class which contains the Push Request respond state
1643 /// <since_tizen> 4 </since_tizen>
1644 public class PushFinishedEventArgs : EventArgs
1649 internal PushFinishedEventArgs(int result, string address)
1656 /// The return value.
1658 /// <since_tizen> 4 </since_tizen>
1670 /// <since_tizen> 4 </since_tizen>
1671 public string Address