DataPackageView

Namespace: XPlat.ApplicationModel.DataTransfer

A read-only version of a DataPackage. Apps that receive shared content get this object when acquiring content.

public class DataPackageView : DataPackage, IDataPackageView

Supported platforms

Platform

Version

Xamarin.Android

9.0

Xamarin.iOS

1.0

UWP

10.0.16299

Methods

Task GetTextAsync()

Gets the text in the DataPackageView object.

public Task<string> GetTextAsync();

Returns

The text.

References

DataPackageView - Microsoft Docs

Last updated