Edytuj

Udostępnij za pośrednictwem


WCSession.TransferFile(NSUrl, NSDictionary<NSString,NSObject>) Method

Definition

Sends the file and metadata to the device.

[Foundation.Export("transferFile:metadata:")]
public virtual WatchConnectivity.WCSessionFileTransfer TransferFile (Foundation.NSUrl file, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> metadata);
abstract member TransferFile : Foundation.NSUrl * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> -> WatchConnectivity.WCSessionFileTransfer
override this.TransferFile : Foundation.NSUrl * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> -> WatchConnectivity.WCSessionFileTransfer

Parameters

file
NSUrl
metadata
NSDictionary<NSString,NSObject>

To be added.

This parameter can be null.

Returns

Attributes

Applies to