XPlat.Device.Display
XPlat.Storage.Pickers

IDataPackageView

Namespace: XPlat.ApplicationModel.DataTransfer

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

public interface IDataPackageView

Supported platforms

Platform

Version

.NET Standard

2.0

Xamarin.Android

9.0

Xamarin.iOS

1.0

UWP

10.0.16299

Methods

Task GetTextAsync()

Gets the text in the DataPackageView object.

Task<string> GetTextAsync();

Returns

The text.