diff --git a/winrt/winrt-uwp.d.ts b/winrt/winrt-uwp.d.ts index e03cfc87bb..e7216e732a 100644 --- a/winrt/winrt-uwp.d.ts +++ b/winrt/winrt-uwp.d.ts @@ -2007,7 +2007,7 @@ declare namespace Windows { /** Represents a background task that has been registered with the system. */ abstract class BackgroundTaskRegistration { /** Enumerates an application's registered background tasks. */ - static allTasks: Windows.Foundation.Collections.IMapView; + static allTasks: Windows.Foundation.Collections.IMapView; /** Gets the name of a registered background task. */ name: string; /** Attaches a completed event handler to the registered background task. */ @@ -3079,9 +3079,9 @@ declare namespace Windows { * @param mimeType The MIME type of the attachment. * @param dataStreamReference A stream containing the attachment data. */ - constructor(mimeType: string, dataStreamReference: Windows.Storage.Streams.RandomAccessStreamReference); + constructor(mimeType: string, dataStreamReference: Windows.Storage.Streams.IRandomAccessStreamReference); /** Gets or sets a stream reference for a message attachment. */ - dataStreamReference: Windows.Storage.Streams.RandomAccessStreamReference; + dataStreamReference: Windows.Storage.Streams.IRandomAccessStreamReference; /** Gets or sets the identifier for the attachment group to which this attachment belongs. */ groupId: number; /** Gets or sets the MIME type of the attachment. */ @@ -3091,7 +3091,7 @@ declare namespace Windows { /** Gets or sets the text encoded representation of the attachment object. */ text: string; /** Gets or sets the thumbnail image for the attachment. */ - thumbnail: Windows.Storage.Streams.RandomAccessStreamReference; + thumbnail: Windows.Storage.Streams.IRandomAccessStreamReference; /** Gets or sets the progress of transferring the attachment. */ transferProgress: number; } @@ -3818,7 +3818,7 @@ declare namespace Windows { /** Gets the email addresses for a contact. */ emails: Windows.Foundation.Collections.IVector; /** Sets the fields that contain information about a contact. */ - fields: Windows.Foundation.Collections.IVector; + fields: Windows.Foundation.Collections.IVector; /** Gets and sets the first name for a contact. The maximum string length for the first name is 64 characters. */ firstName: string; /** Gets the full name of the Contact . */ @@ -3840,7 +3840,7 @@ declare namespace Windows { /** Gets the job info items for a contact. */ jobInfo: Windows.Foundation.Collections.IVector; /** Gets a large version of the display picture for the Contact . */ - largeDisplayPicture: Windows.Storage.Streams.RandomAccessStreamReference; + largeDisplayPicture: Windows.Storage.Streams.IRandomAccessStreamReference; /** Gets and sets the last name for a contact. The maximum string length for the last name is 64 characters. */ lastName: string; /** Gets and sets the middle name for a contact. The maximum string length for the middle name is 64 characters. */ @@ -3854,7 +3854,7 @@ declare namespace Windows { /** Gets info about the phones for a contact. */ phones: Windows.Foundation.Collections.IVector; /** Gets the property set object for the contact. */ - providerProperties: Windows.Foundation.Collections.PropertySet; + providerProperties: Windows.Foundation.Collections.IPropertySet; /** Gets or sets an ID that can be used by a service provider to access the Contact in their remote system. */ remoteId: string; /** Gets or puts the path to the ringtone file for the Contact . */ @@ -3862,11 +3862,11 @@ declare namespace Windows { /** Gets the significant others for a contact. */ significantOthers: Windows.Foundation.Collections.IVector; /** Gets a small version of the display picture for the Contact . */ - smallDisplayPicture: Windows.Storage.Streams.RandomAccessStreamReference; + smallDisplayPicture: Windows.Storage.Streams.IRandomAccessStreamReference; /** Gets the name used to sort the contact. */ sortName: string; /** Gets or sets the display picture for the Contact in its original size. */ - sourceDisplayPicture: Windows.Storage.Streams.RandomAccessStreamReference; + sourceDisplayPicture: Windows.Storage.Streams.IRandomAccessStreamReference; /** Gets or puts the path to the audio file to play when an SMS/MMS message is received from the Contact . */ textToneToken: string; thumbnail: any; /* unmapped type */ @@ -4655,7 +4655,7 @@ declare namespace Windows { * @param vCard A stream containing the vCard data. * @return The converted Contact . */ - static convertVCardToContactAsync(vCard: Windows.Storage.Streams.RandomAccessStreamReference): Windows.Foundation.IPromiseWithIAsyncOperation; + static convertVCardToContactAsync(vCard: Windows.Storage.Streams.IRandomAccessStreamReference): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Gets a Boolean value indicating if the ShowContactCard method is supported on the current platform. * @return A Boolean value indicating if the ShowContactCard method is supported on the current platform. @@ -5326,9 +5326,9 @@ declare namespace Windows { /** Gets the number of items that are contained in the property set. */ size: number; /** Gets or sets the source app's logo. */ - square30x30Logo: Windows.Storage.Streams.RandomAccessStreamReference; + square30x30Logo: Windows.Storage.Streams.IRandomAccessStreamReference; /** Gets or sets a thumbnail image for the DataPackage . */ - thumbnail: Windows.Storage.Streams.RandomAccessStreamReference; + thumbnail: Windows.Storage.Streams.IRandomAccessStreamReference; /** Gets or sets the text that displays as a title for the contents of the DataPackage object. */ title: string; } @@ -5377,7 +5377,7 @@ declare namespace Windows { */ split(): { /** The first half of the object. */ first: Windows.Foundation.Collections.IMapView; /** The second half of the object. */ second: Windows.Foundation.Collections.IMapView; }; /** Gets the source app's logo. */ - square30x30Logo: Windows.Storage.Streams.RandomAccessStreamReference; + square30x30Logo: Windows.Storage.Streams.IRandomAccessStreamReference; /** Gets the thumbnail image for the DataPackageView . */ thumbnail: Windows.Storage.Streams.RandomAccessStreamReference; /** Gets the text that displays as a title for the contents of the DataPackagePropertySetView object. */ @@ -5629,7 +5629,7 @@ declare namespace Windows { * @param file The file to share with the target app. * @return The sharing token to provide to the target app as part of a Uri activation. */ - static addFile(file: Windows.Storage.StorageFile): string; + static addFile(file: Windows.Storage.IStorageFile): string; /** * Gets a file shared by another app by providing the sharing token received from the source app. * @param token The sharing token for the shared file. @@ -5685,20 +5685,20 @@ declare namespace Windows { * @param filename The file name to use for the attachment. * @param data A random access stream containing the data for the attachment. */ - constructor(filename: string, data: Windows.Storage.Streams.RandomAccessStreamReference); + constructor(filename: string, data: Windows.Storage.Streams.IRandomAccessStreamReference); /** * Initializes a new instance of the EmailAttachment class. * @param fileName The filename of the attachment. * @param data The stream to use to download the attachment. * @param mimeType The MIME type of the attachment. */ - constructor(fileName: string, data: Windows.Storage.Streams.RandomAccessStreamReference, mimeType: string); + constructor(fileName: string, data: Windows.Storage.Streams.IRandomAccessStreamReference, mimeType: string); /** Gets or sets a value that identifies the content of the attachment on a remote system. */ contentId: string; /** Gets or sets the location of an email attachment as a Uniform Resource Identifier (URI). */ contentLocation: string; /** Gets or sets the email attachment's data. */ - data: Windows.Storage.Streams.RandomAccessStreamReference; + data: Windows.Storage.Streams.IRandomAccessStreamReference; /** Gets or sets the download state of the email attachment. */ downloadState: Windows.ApplicationModel.Email.EmailAttachmentDownloadState; /** Gets or sets the estimated download size of the attachment. */ @@ -6645,7 +6645,7 @@ declare namespace Windows { * @param type The kind of message body; plain text or HTML. * @return The selected body stream. */ - getBodyStream(type: Windows.ApplicationModel.Email.EmailMessageBodyKind): Windows.Storage.Streams.RandomAccessStreamReference; + getBodyStream(type: Windows.ApplicationModel.Email.EmailMessageBodyKind): Windows.Storage.Streams.IRandomAccessStreamReference; /** Gets a Boolean value indicating whether this email message contains partial bodies. */ hasPartialBodies: boolean; /** Gets the identifier of an email message. */ @@ -6691,9 +6691,9 @@ declare namespace Windows { * @param type Indicates which body stream, plain text or HTML. * @param stream The message for the specified body stream. */ - setBodyStream(type: Windows.ApplicationModel.Email.EmailMessageBodyKind, stream: Windows.Storage.Streams.RandomAccessStreamReference): void; + setBodyStream(type: Windows.ApplicationModel.Email.EmailMessageBodyKind, stream: Windows.Storage.Streams.IRandomAccessStreamReference): void; /** Gets or sets the S/MIME data associated with an email message. For more information, see the Certificate class. */ - smimeData: Windows.Storage.Streams.RandomAccessStreamReference; + smimeData: Windows.Storage.Streams.IRandomAccessStreamReference; /** Gets or sets the type of S/MIME encryption/signature for the email message. */ smimeKind: Windows.ApplicationModel.Email.EmailMessageSmimeKind; /** Gets or sets the subject of the email message. */ @@ -7114,24 +7114,24 @@ declare namespace Windows { /** Gets the name. */ automationName: string; /** Gets the glyph to display. */ - glyph: Windows.Storage.Streams.RandomAccessStream; + glyph: Windows.Storage.Streams.IRandomAccessStream; /** Launches the app corresponding to the badge. */ launchApp(): void; /** Gets the logo to display with the badge. */ - logo: Windows.Storage.Streams.RandomAccessStream; + logo: Windows.Storage.Streams.IRandomAccessStream; /** Gets the number to display with the badge. */ number: number; } /** Provides access to the same data that the default lock screen has access to, such as wallpaper, badges, and so on. */ abstract class LockScreenInfo { /** Gets the alarm icon to display. */ - alarmIcon: Windows.Storage.Streams.RandomAccessStream; + alarmIcon: Windows.Storage.Streams.IRandomAccessStream; /** Gets the badges to display. */ badges: Windows.Foundation.Collections.IVectorView; /** Gets the detail text to display. */ detailText: Windows.Foundation.Collections.IVectorView; /** Gets the image to display on the lock screen. */ - lockScreenImage: Windows.Storage.Streams.RandomAccessStream; + lockScreenImage: Windows.Storage.Streams.IRandomAccessStream; /** Indicates the alarm icon has changed. */ onalarmiconchanged: Windows.Foundation.TypedEventHandler; addEventListener(type: "alarmiconchanged", listener: Windows.Foundation.TypedEventHandler): void; @@ -7313,7 +7313,7 @@ declare namespace Windows { * Asynchronously returns an IRandomAccessStream that accesses the value of this ResourceCandidate . * @return An asynchronous operation to return the requested IRandomAccessStream . */ - getValueAsStreamAsync(): Windows.Foundation.IPromiseWithIAsyncOperation; + getValueAsStreamAsync(): Windows.Foundation.IPromiseWithIAsyncOperation; /** Indicates whether this ResourceCandidate can be used as a default fallback value for any context. */ isDefault: boolean; /** Indicates whether this ResourceCandidate matched the ResourceContext against which it was evaluated. */ @@ -7479,14 +7479,14 @@ declare namespace Windows { * Loads one or more PRI files and adds their contents to the default resource manager. * @param files The files you want to add. */ - loadPriFiles(files: Windows.Foundation.Collections.IIterable): void; + loadPriFiles(files: Windows.Foundation.Collections.IIterable): void; /** Gets the ResourceMap that is associated with the main package of the currently running application. */ mainResourceMap: Windows.ApplicationModel.Resources.Core.ResourceMap; /** * Unloads one or more PRI files. * @param files The files you want unloaded. */ - unloadPriFiles(files: Windows.Foundation.Collections.IIterable): void; + unloadPriFiles(files: Windows.Foundation.Collections.IIterable): void; } /** A collection of related resources, typically either for a particular app package, or a resource file for a particular package. */ abstract class ResourceMap { @@ -7809,7 +7809,7 @@ declare namespace Windows { /** Gets the value that was passed to the detailText parameter of the AppendResultSuggestion method. */ detailText: string; /** Gets the value that was passed to the image parameter of the AppendResultSuggestion method. */ - image: Windows.Storage.Streams.RandomAccessStreamReference; + image: Windows.Storage.Streams.IRandomAccessStreamReference; /** Gets the value that was passed to the imageAlternateText parameter of the AppendResultSuggestion method. */ imageAlternateText: string; /** Gets the type of suggestion. */ @@ -8075,7 +8075,7 @@ declare namespace Windows { * @param image The image to accompany the results suggestion. * @param imageAlternateText The alternate text for the image. */ - appendResultSuggestion(text: string, detailText: string, tag: string, image: Windows.Storage.Streams.RandomAccessStreamReference, imageAlternateText: string): void; + appendResultSuggestion(text: string, detailText: string, tag: string, image: Windows.Storage.Streams.IRandomAccessStreamReference, imageAlternateText: string): void; /** * Appends a text label that is used to separate groups of suggestions in the search pane. * @param label The text to use as a separator. This text should be descriptive of any suggestions that are appended after it. @@ -8966,7 +8966,7 @@ declare namespace Windows { */ findEmailMailboxesAsync(): Windows.Foundation.IPromiseWithIAsyncOperation>; /** Gets the icon associated with the UserDataAccount . */ - icon: Windows.Storage.Streams.RandomAccessStreamReference; + icon: Windows.Storage.Streams.IRandomAccessStreamReference; /** Gets a string that uniquely identifies the UserDataAccount on the local device. */ id: string; /** Gets a Boolean value indicating if the user account data is encrypted when the device becomes locked. */ @@ -9103,7 +9103,7 @@ declare namespace Windows { /** Gets or sets the layout template used to display the content tile on the Cortana canvas. */ contentTileType: Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTileType; /** Gets or sets an image the background app service can associate with the content tile. */ - image: Windows.Storage.StorageFile; + image: Windows.Storage.IStorageFile; /** Gets or sets the first line of text the background app service can associate with the content tile. */ textLine1: string; /** Gets or sets the second line of text the background app service can associate with the content tile. */ @@ -9308,7 +9308,7 @@ declare namespace Windows { * @param stream The ".mswallet" file to import. * @return An asynchronous operation that, on successful completion, returns the wallet item that was imported into the wallet. If you use Asynchronous programming, the result type on successful completion is a single WalletItem . */ - importItemAsync(stream: Windows.Storage.Streams.RandomAccessStreamReference): Windows.Foundation.IPromiseWithIAsyncOperation; + importItemAsync(stream: Windows.Storage.Streams.IRandomAccessStreamReference): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Launches the app that is associated with the given wallet item. * @param item The wallet item to launch an app for. @@ -9350,7 +9350,7 @@ declare namespace Windows { * Initializes a new instance of the WalletBarcode class. * @param streamToBarcodeImage A stream representing the bar code image. */ - constructor(streamToBarcodeImage: Windows.Storage.Streams.RandomAccessStreamReference); + constructor(streamToBarcodeImage: Windows.Storage.Streams.IRandomAccessStreamReference); /** * Initializes a new instance of the WalletBarcode class. * @param symbology The symbology type for this barcode. Use one of the supported symbologies, such as Upca. Don't set to Invalid or Custom. @@ -9361,7 +9361,7 @@ declare namespace Windows { * Creates and returns a bitmap image stream for the barcode (or returns the custom image used during instantiation). * @return An asynchronous operation. If you use Asynchronous programming, the result type on successful completion is an IRandomAccessStreamReference instance. This can be assigned as the source for an image (with some additional code). */ - getImageAsync(): Windows.Foundation.IPromiseWithIAsyncOperation; + getImageAsync(): Windows.Foundation.IPromiseWithIAsyncOperation; /** Gets the symbology used by the bar code. */ symbology: Windows.ApplicationModel.Wallet.WalletBarcodeSymbology; /** Gets a string representation of the barcode (its message). */ @@ -9438,7 +9438,7 @@ declare namespace Windows { /** Gets or sets the barcode that's representative of the wallet item. */ barcode: Windows.ApplicationModel.Wallet.WalletBarcode; /** Gets or sets the background image of the body of the wallet item (uses a stream). */ - bodyBackgroundImage: Windows.Storage.Streams.RandomAccessStreamReference; + bodyBackgroundImage: Windows.Storage.Streams.IRandomAccessStreamReference; /** Gets or sets the body color of the wallet item. */ bodyColor: Windows.UI.Color; /** Gets or sets the body font color of the wallet item. */ @@ -9452,7 +9452,7 @@ declare namespace Windows { /** Gets or sets the expiration date of the wallet item. */ expirationDate: Date; /** Gets or sets the header background image of the wallet item. */ - headerBackgroundImage: Windows.Storage.Streams.RandomAccessStreamReference; + headerBackgroundImage: Windows.Storage.Streams.IRandomAccessStreamReference; /** Gets or sets the header color of the wallet item. */ headerColor: Windows.UI.Color; /** Gets or sets the header font color of the wallet item. */ @@ -9472,17 +9472,17 @@ declare namespace Windows { /** Gets or sets the date and time the data for this item was last updated. */ lastUpdated: Date; /** Gets or sets the medium (159 x 159) logo image of the wallet item. */ - logo159x159: Windows.Storage.Streams.RandomAccessStreamReference; + logo159x159: Windows.Storage.Streams.IRandomAccessStreamReference; /** Gets or sets the large (336 x 336) logo image of the wallet item. */ - logo336x336: Windows.Storage.Streams.RandomAccessStreamReference; + logo336x336: Windows.Storage.Streams.IRandomAccessStreamReference; /** Gets or sets the small (99 x 99) logo image of the wallet item. */ - logo99x99: Windows.Storage.Streams.RandomAccessStreamReference; + logo99x99: Windows.Storage.Streams.IRandomAccessStreamReference; /** Gets or sets the logo image of the wallet item. */ - logoImage: Windows.Storage.Streams.RandomAccessStreamReference; + logoImage: Windows.Storage.Streams.IRandomAccessStreamReference; /** Gets or sets the logo text of the wallet item. */ logoText: string; /** Gets or sets the promotional image of the wallet item. */ - promotionalImage: Windows.Storage.Streams.RandomAccessStreamReference; + promotionalImage: Windows.Storage.Streams.IRandomAccessStreamReference; /** Gets or sets the date on which the item is valid. */ relevantDate: Date; /** Gets or sets the description of the relevant date of the wallet item. */ @@ -9572,7 +9572,7 @@ declare namespace Windows { * @param stream The ".mswallet" file to import. * @return An asynchronous operation that, on successful completion, returns the wallet item that was imported into the wallet. If you use Asynchronous programming, the result type on successful completion is a single WalletItem . */ - importItemAsync(stream: Windows.Storage.Streams.RandomAccessStreamReference): Windows.Foundation.IPromiseWithIAsyncOperation; + importItemAsync(stream: Windows.Storage.Streams.IRandomAccessStreamReference): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Displays the item with the given ID in the Wallet UI. * @param id The ID of the item to display. @@ -9677,26 +9677,26 @@ declare namespace Windows { * @param password The password to open the PDF document, if it requires one. * @return The asynchronous operation. */ - static loadFromFileAsync(file: Windows.Storage.StorageFile, password: string): Windows.Foundation.IPromiseWithIAsyncOperation; + static loadFromFileAsync(file: Windows.Storage.IStorageFile, password: string): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Outputs an asynchronous operation. When the operation completes, a PdfDocument object is returned, which represents a Portable Document Format (PDF) document. * @param file The file, which represents a PDF document. * @return The asynchronous operation. */ - static loadFromFileAsync(file: Windows.Storage.StorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; + static loadFromFileAsync(file: Windows.Storage.IStorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Creates a PdfDocument object, representing a Portable Document Format (PDF) document, from a stream of data that represents a PDF document in the file system. Use this method if the PDF document is password-protected. * @param inputStream The stream of data, which represents a PDF document. * @param password The password to open the PDF document, if it requires one. * @return The asynchronous operation. */ - static loadFromStreamAsync(inputStream: Windows.Storage.Streams.RandomAccessStream, password: string): Windows.Foundation.IPromiseWithIAsyncOperation; + static loadFromStreamAsync(inputStream: Windows.Storage.Streams.IRandomAccessStream, password: string): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Creates a PdfDocument object, representing a Portable Document Format (PDF) document, from a stream of data that represents a PDF document in the file system. * @param inputStream The stream of data, which represents a PDF document. * @return The asynchronous operation. */ - static loadFromStreamAsync(inputStream: Windows.Storage.Streams.RandomAccessStream): Windows.Foundation.IPromiseWithIAsyncOperation; + static loadFromStreamAsync(inputStream: Windows.Storage.Streams.IRandomAccessStream): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Gets a page from a Portable Document Format (PDF) document. * @param pageIndex The location of the PDF page relative to its parent document. @@ -9728,14 +9728,14 @@ declare namespace Windows { * @param outputStream The stream of data, which represents a PDF page's content. * @return The asynchronous action. */ - renderToStreamAsync(outputStream: Windows.Storage.Streams.RandomAccessStream): Windows.Foundation.IPromiseWithIAsyncAction; + renderToStreamAsync(outputStream: Windows.Storage.Streams.IRandomAccessStream): Windows.Foundation.IPromiseWithIAsyncAction; /** * Takes a set of display settings, applies them to the output of a Portable Document Format (PDF) page's contents, and creates a stream with the customized, rendered output as an asynchronous action. This asynchronous action can be used to create a customized display image of the PDF page. * @param outputStream The stream of data, which represents a PDF page's contents. * @param options The requested set of display settings to apply to the display image that is output based on the PDF page. * @return The asynchronous action. */ - renderToStreamAsync(outputStream: Windows.Storage.Streams.RandomAccessStream, options: Windows.Data.Pdf.PdfPageRenderOptions): Windows.Foundation.IPromiseWithIAsyncAction; + renderToStreamAsync(outputStream: Windows.Storage.Streams.IRandomAccessStream, options: Windows.Data.Pdf.PdfPageRenderOptions): Windows.Foundation.IPromiseWithIAsyncAction; /** Gets the number of degrees that the Portable Document Format (PDF) page will be rotated when it's displayed or printed. */ rotation: Windows.Data.Pdf.PdfPageRotation; /** Gets the Portable Document Format (PDF) page's size based on its related CropBox , MediaBox , and Rotation property values. */ @@ -10662,7 +10662,7 @@ declare namespace Windows { * @param offset The number of characters at which to split this text node into two nodes, starting from zero. * @return The new text node. */ - splitText(offset: number): Windows.Data.Xml.Dom.XmlText; + splitText(offset: number): Windows.Data.Xml.Dom.IXmlText; /** * Retrieves a substring of the full string from the specified range. * @param offset Specifies the offset, in characters, from the beginning of the string. An offset of zero indicates copying from the start of the data. @@ -10817,13 +10817,13 @@ declare namespace Windows { * @param loadSettings Settings for customizing parser behavior. * @return The object that must be used to start the operation. */ - static loadFromFileAsync(file: Windows.Storage.StorageFile, loadSettings: Windows.Data.Xml.Dom.XmlLoadSettings): Windows.Foundation.IPromiseWithIAsyncOperation; + static loadFromFileAsync(file: Windows.Storage.IStorageFile, loadSettings: Windows.Data.Xml.Dom.XmlLoadSettings): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Asynchronously loads an XML document from the specified file. The document is parsed using the default parser settings. * @param file The file from which to load the document. * @return The object that must be used to start the operation. */ - static loadFromFileAsync(file: Windows.Storage.StorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; + static loadFromFileAsync(file: Windows.Storage.IStorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Asynchronously loads an XML document from the specified location. The document is parsed using the provided settings. * @param uri A URL that specifies the location of the XML file. @@ -10982,13 +10982,13 @@ declare namespace Windows { * Loads an XML document using the buffer. The document is parsed using the default parser settings. * @param buffer The buffer to load into this XML document object. This buffer can contain an entire XML document or a well-formed fragment. */ - loadXmlFromBuffer(buffer: Windows.Storage.Streams.Buffer): void; + loadXmlFromBuffer(buffer: Windows.Storage.Streams.IBuffer): void; /** * Loads an XML document using the buffer. The document is parsed using the settings provided. * @param buffer The buffer to load into this XML document object. This buffer can contain an entire XML document or a well-formed fragment. * @param loadSettings The settings for parsing the document. */ - loadXmlFromBuffer(buffer: Windows.Storage.Streams.Buffer, loadSettings: Windows.Data.Xml.Dom.XmlLoadSettings): void; + loadXmlFromBuffer(buffer: Windows.Storage.Streams.IBuffer, loadSettings: Windows.Data.Xml.Dom.XmlLoadSettings): void; /** Gets the local name, which is the local part of a qualified name. This is called the local part in Namespaces in XML. */ localName: any; /** Returns the Uniform Resource Identifier (URI) for the namespace. */ @@ -11029,7 +11029,7 @@ declare namespace Windows { * @param file The file to save the document to. * @return The object that must be used to start the operation. */ - saveToFileAsync(file: Windows.Storage.StorageFile): Windows.Foundation.IPromiseWithIAsyncAction; + saveToFileAsync(file: Windows.Storage.IStorageFile): Windows.Foundation.IPromiseWithIAsyncAction; /** * Applies the specified pattern-matching operation to this node's context and returns the list of matching nodes as an XmlNodeList . * @param xpath Specifies an XPath expression. @@ -11932,7 +11932,7 @@ declare namespace Windows { * @param offset The number of characters at which to split this text node into two nodes, starting from zero. * @return The new text node. */ - splitText(offset: number): Windows.Data.Xml.Dom.XmlText; + splitText(offset: number): Windows.Data.Xml.Dom.IXmlText; /** * Retrieves a substring of the full string from the specified range. * @param offset The offset, in characters, from the beginning of the string. An offset of zero indicates copying from the start of the data. @@ -12018,7 +12018,7 @@ declare namespace Windows { * @param offset The number of characters at which to split this text node into two nodes, starting from zero. * @return The new text node. */ - splitText(offset: number): Windows.Data.Xml.Dom.XmlText; + splitText(offset: number): Windows.Data.Xml.Dom.IXmlText; } /** Encapsulates the methods needed to execute XPath queries on an XML DOM tree or subtree. */ interface IXmlNodeSelector { @@ -12701,9 +12701,9 @@ declare namespace Windows { * @param offset The offset of byte pattern from beginning of advertisement data section. * @param data The Bluetooth LE advertisement data byte pattern to match. */ - constructor(dataType: number, offset: number, data: Windows.Storage.Streams.Buffer); + constructor(dataType: number, offset: number, data: Windows.Storage.Streams.IBuffer); /** The Bluetooth LE advertisement data byte pattern to match. */ - data: Windows.Storage.Streams.Buffer; + data: Windows.Storage.Streams.IBuffer; /** The Bluetooth LE advertisement data type defined by the Bluetooth Special Interest Group (SIG) to match. */ dataType: number; /** The offset of byte pattern from beginning of advertisement data section. */ @@ -12718,9 +12718,9 @@ declare namespace Windows { * @param dataType The Bluetooth LE advertisement data type as defined by the Bluetooth Special Interest Group (SIG). * @param data The Bluetooth LE advertisement data payload. */ - constructor(dataType: number, data: Windows.Storage.Streams.Buffer); + constructor(dataType: number, data: Windows.Storage.Streams.IBuffer); /** The Bluetooth LE advertisement data payload. */ - data: Windows.Storage.Streams.Buffer; + data: Windows.Storage.Streams.IBuffer; /** The Bluetooth LE advertisement data type as defined by the Bluetooth Special Interest Group (SIG). */ dataType: number; } @@ -12934,11 +12934,11 @@ declare namespace Windows { * @param companyId The Bluetooth LE company identifier code as defined by the Bluetooth Special Interest Group (SIG). * @param data Bluetooth LE manufacturer-specific section data. */ - constructor(companyId: number, data: Windows.Storage.Streams.Buffer); + constructor(companyId: number, data: Windows.Storage.Streams.IBuffer); /** The Bluetooth LE company identifier code as defined by the Bluetooth Special Interest Group (SIG). */ companyId: number; /** Bluetooth LE manufacturer-specific section data. */ - data: Windows.Storage.Streams.Buffer; + data: Windows.Storage.Streams.IBuffer; } /** Specifies the Bluetooth LE scanning mode. */ enum BluetoothLEScanningMode { @@ -12971,7 +12971,7 @@ declare namespace Windows { /** Gets the GATT characteristic that changed. */ characteristic: Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristic; /** Gets a byte stream containing the new value of the characteristic. */ - value: Windows.Storage.Streams.Buffer; + value: Windows.Storage.Streams.IBuffer; } /** Provides information about the Bluetooth device that caused this trigger to fire. */ abstract class RfcommConnectionTriggerDetails { @@ -12987,7 +12987,7 @@ declare namespace Windows { /** Gets or sets the service UUID that will be advertised in the SDP record. */ localServiceId: Windows.Devices.Bluetooth.Rfcomm.RfcommServiceId; /** Gets or sets the Bluetooth SDP record that the system will advertise on behalf of the app. */ - sdpRecord: Windows.Storage.Streams.Buffer; + sdpRecord: Windows.Storage.Streams.IBuffer; /** Gets or sets the service capabilities that will be advertised. */ serviceCapabilities: Windows.Devices.Bluetooth.BluetoothServiceCapabilities; } @@ -13129,7 +13129,7 @@ declare namespace Windows { /** Gets the read-only list of RFCOMM services supported by the device. */ rfcommServices: Windows.Foundation.Collections.IVectorView; /** Gets the read-only list of Service Discovery Protocol (SDP) records for the device. */ - sdpRecords: Windows.Foundation.Collections.IVectorView; + sdpRecords: Windows.Foundation.Collections.IVectorView; addEventListener(type: string, listener: Windows.Foundation.EventHandler): void; removeEventListener(type: string, listener: Windows.Foundation.EventHandler): void; } @@ -13645,14 +13645,14 @@ declare namespace Windows { * @param value A Windows.Storage.Streams.IBuffer object which contains the data to be written to the Bluetooth LE device. * @return The object that manages the asynchronous operation, which, upon completion, returns the status with which the operation completed. */ - writeValueAsync(value: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncOperation; + writeValueAsync(value: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Performs a Characteristic Value write to a Bluetooth LE device. * @param value A Windows.Storage.Streams.IBuffer object which contains the data to be written to the Bluetooth LE device. * @param writeOption Specifies what type of GATT write should be performed. * @return The object that manages the asynchronous operation, which, upon completion, returns the status with which the operation completed. */ - writeValueAsync(value: Windows.Storage.Streams.Buffer, writeOption: Windows.Devices.Bluetooth.GenericAttributeProfile.GattWriteOption): Windows.Foundation.IPromiseWithIAsyncOperation; + writeValueAsync(value: Windows.Storage.Streams.IBuffer, writeOption: Windows.Devices.Bluetooth.GenericAttributeProfile.GattWriteOption): Windows.Foundation.IPromiseWithIAsyncOperation; addEventListener(type: string, listener: Windows.Foundation.EventHandler): void; removeEventListener(type: string, listener: Windows.Foundation.EventHandler): void; } @@ -13892,7 +13892,7 @@ declare namespace Windows { * @param value A Windows.Storage.Streams.IBuffer object which contains the data to be written to the Bluetooth LE device. * @return The object that manages the asynchronous operation, which, upon completion, returns the status with which the operation completed. */ - writeValueAsync(value: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncOperation; + writeValueAsync(value: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncOperation; } /** Represents an enumeration of the most well known Descriptor UUID values, and provides convenience methods for working with GATT descriptor UUIDs, and static properties providing descriptor UUIDs for common GATT descriptors. */ abstract class GattDescriptorUuids { @@ -14065,7 +14065,7 @@ declare namespace Windows { /** Gets the status of an asynchronous operation. */ status: Windows.Devices.Bluetooth.GenericAttributeProfile.GattCommunicationStatus; /** Gets the value read from the device. */ - value: Windows.Storage.Streams.Buffer; + value: Windows.Storage.Streams.IBuffer; } /** Performs GATT reliable writes on the Bluetooth LE device, in the form of a transaction write operation. */ class GattReliableWriteTransaction { @@ -14081,7 +14081,7 @@ declare namespace Windows { * @param characteristic The GattCharacteristic object on which to perform the write operation. * @param value The Characteristic Value to be written to characteristic. */ - writeValue(characteristic: Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristic, value: Windows.Storage.Streams.Buffer): void; + writeValue(characteristic: Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristic, value: Windows.Storage.Streams.IBuffer): void; } /** Represents an enumeration of the most well known Service UUID values, and provides convenience methods for working with GATT service UUIDs, and static properties providing service UUIDs for common GATT services. */ abstract class GattServiceUuids { @@ -14133,7 +14133,7 @@ declare namespace Windows { /** Represents the value received when registering to receive notifications or indications from a Bluetooth LE device. */ abstract class GattValueChangedEventArgs { /** Gets the new Characteristic Value. */ - characteristicValue: Windows.Storage.Streams.Buffer; + characteristicValue: Windows.Storage.Streams.IBuffer; /** Gets the time at which the system was notified of the Characteristic Value change. */ timestamp: Date; } @@ -14235,7 +14235,7 @@ declare namespace Windows { */ static createAsync(serviceId: Windows.Devices.Bluetooth.Rfcomm.RfcommServiceId): Windows.Foundation.IPromiseWithIAsyncOperation; /** Gets a collection of SDP attributes for advertising. */ - sdpRawAttributes: Windows.Foundation.Collections.IMap; + sdpRawAttributes: Windows.Foundation.Collections.IMap; /** Gets the RfcommServiceId of this local RFCOMM service instance. */ serviceId: Windows.Devices.Bluetooth.Rfcomm.RfcommServiceId; /** @@ -14283,7 +14283,7 @@ declare namespace Windows { * @param outputBuffer The output buffer. * @return The result of the async operation. */ - sendIOControlAsync(ioControlCode: Windows.Devices.Custom.IOControlCode, inputBuffer: Windows.Storage.Streams.Buffer, outputBuffer: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncOperation; + sendIOControlAsync(ioControlCode: Windows.Devices.Custom.IIOControlCode, inputBuffer: Windows.Storage.Streams.IBuffer, outputBuffer: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Sends an IO control code. A return value indicates whether the operation succeeded. * @param ioControlCode The IO control code. @@ -14291,7 +14291,7 @@ declare namespace Windows { * @param outputBuffer The output buffer. * @return true if the operation is successful; otherwise, false. */ - trySendIOControlAsync(ioControlCode: Windows.Devices.Custom.IOControlCode, inputBuffer: Windows.Storage.Streams.Buffer, outputBuffer: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncOperation; + trySendIOControlAsync(ioControlCode: Windows.Devices.Custom.IIOControlCode, inputBuffer: Windows.Storage.Streams.IBuffer, outputBuffer: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncOperation; } /** The device access mode. */ enum DeviceAccessMode { @@ -14901,7 +14901,7 @@ declare namespace Windows { * Creates a new instance of a IRandomAccessStream over the same resource as the current stream. * @return The new stream. The initial, internal position of the stream is 0. */ - cloneStream(): Windows.Storage.Streams.RandomAccessStream; + cloneStream(): Windows.Storage.Streams.IRandomAccessStream; /** Closes the current stream and releases system resources. */ close(): void; /** Returns the content type of the thumbnail image. */ @@ -14932,7 +14932,7 @@ declare namespace Windows { * @param options Specifies the type of the asynchronous read operation. * @return The asynchronous operation. */ - readAsync(buffer: Windows.Storage.Streams.Buffer, count: number, options: Windows.Storage.Streams.InputStreamOptions): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + readAsync(buffer: Windows.Storage.Streams.IBuffer, count: number, options: Windows.Storage.Streams.InputStreamOptions): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; /** * Sets the position of the stream to the specified value. * @param position The new position of the stream. @@ -14945,7 +14945,7 @@ declare namespace Windows { * @param buffer The buffer into which the asynchronous writer operation writes. * @return The byte writer operation. */ - writeAsync(buffer: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + writeAsync(buffer: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; } /** Contains information about the result of attempting to unpair a device. */ abstract class DeviceUnpairingResult { @@ -16072,7 +16072,7 @@ declare namespace Windows { /** Represents a feature report. */ abstract class HidFeatureReport { /** Retrieves, or sets, the data associated with a given feature report. */ - data: Windows.Storage.Streams.Buffer; + data: Windows.Storage.Streams.IBuffer; /** * Retrieves the Boolean control associated with the usagePage and usageIdparameter and found in the given feature report. * @param usagePage The usage page of the top-level collection for the given HID device. @@ -16107,7 +16107,7 @@ declare namespace Windows { /** Retrieves the currently activated Boolean controls for the given HID device. */ activatedBooleanControls: Windows.Foundation.Collections.IVectorView; /** Retrieves the data associated with a given input report. */ - data: Windows.Storage.Streams.Buffer; + data: Windows.Storage.Streams.IBuffer; getBooleanControl: any; /* unmapped type */ /** * Retrieves the Boolean control described by the controlDescription parameter and found in the given input report. @@ -16187,7 +16187,7 @@ declare namespace Windows { /** Represents an output report. */ abstract class HidOutputReport { /** Retrieves, or sets, the data associated with a given output report. */ - data: Windows.Storage.Streams.Buffer; + data: Windows.Storage.Streams.IBuffer; getBooleanControl: any; /* unmapped type */ /** * Retrieves the boolean control associated with the given controlDescription. @@ -16546,7 +16546,7 @@ declare namespace Windows { /** Creates a new MidiActiveSensingMessage object. */ constructor(); /** Gets the array of bytes associated with the MIDI message, including status byte. */ - rawData: Windows.Storage.Streams.Buffer; + rawData: Windows.Storage.Streams.IBuffer; /** Gets the duration from when the MidiInPort was created to the time the message was received. For messages being sent to a MidiOutPort , this value has no meaning. */ timestamp: number; /** Gets the type of this MIDI message. */ @@ -16565,7 +16565,7 @@ declare namespace Windows { /** Gets the pressure from 0-127. */ pressure: number; /** Gets the array of bytes associated with the MIDI message, including status byte. */ - rawData: Windows.Storage.Streams.Buffer; + rawData: Windows.Storage.Streams.IBuffer; /** Gets the duration from when the MidiInPort was created to the time the message was received. For messages being sent to a MidiOutPort , this value has no meaning. */ timestamp: number; /** Gets the type of this MIDI message. */ @@ -16576,7 +16576,7 @@ declare namespace Windows { /** Creates a new MidiContinueMessage object. */ constructor(); /** Gets the array of bytes associated with the MIDI message, including status byte. */ - rawData: Windows.Storage.Streams.Buffer; + rawData: Windows.Storage.Streams.IBuffer; /** Gets the duration from when the MidiInPort was created to the time the message was received. For messages being sent to a MidiOutPort , this value has no meaning. */ timestamp: number; /** Gets the type of this MIDI message. */ @@ -16598,7 +16598,7 @@ declare namespace Windows { /** Gets controller from 0-127 to receive this message. */ controller: number; /** Gets the array of bytes associated with the MIDI message, including status byte. */ - rawData: Windows.Storage.Streams.Buffer; + rawData: Windows.Storage.Streams.IBuffer; /** Gets the duration from when the MidiInPort was created to the time the message was received. For messages being sent to a MidiOutPort , this value has no meaning. */ timestamp: number; /** Gets the type of this MIDI message. */ @@ -16688,7 +16688,7 @@ declare namespace Windows { /** Gets the note to turn off which is specified as a value from 0-127. */ note: number; /** Gets the array of bytes associated with the MIDI message, including status byte. */ - rawData: Windows.Storage.Streams.Buffer; + rawData: Windows.Storage.Streams.IBuffer; /** Gets the duration from when the MidiInPort was created to the time the message was received. For messages being sent to a MidiOutPort , this value has no meaning. */ timestamp: number; /** Gets the type of this MIDI message. */ @@ -16710,7 +16710,7 @@ declare namespace Windows { /** Gets the note to turn on which is specified as a value from 0-127. */ note: number; /** Gets the array of bytes associated with the MIDI message, including status byte. */ - rawData: Windows.Storage.Streams.Buffer; + rawData: Windows.Storage.Streams.IBuffer; /** Gets the duration from when the MidiInPort was created to the time the message was received. For messages being sent to a MidiOutPort , this value has no meaning. */ timestamp: number; /** Gets the type of this MIDI message. */ @@ -16725,7 +16725,7 @@ declare namespace Windows { * @param deviceId The device ID, which can be obtained by enumerating the devices on the system Windows.Devices.Enumeration.DeviceInformation.FindAllAsync . * @return The asynchronous operation. Upon completion, IAsyncOperation.GetResults returns a MidiOutPort object. */ - static fromIdAsync(deviceId: string): Windows.Foundation.IPromiseWithIAsyncOperation; + static fromIdAsync(deviceId: string): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Gets a query string that can be used to enumerate all MidiOutPort objects on the system. * @return The query string used to enumerate the MidiOutPort objects on the system. @@ -16739,7 +16739,7 @@ declare namespace Windows { * Send the specified data buffer to the device associated with this MidiOutPort . * @param midiData The data to send to the device. */ - sendBuffer(midiData: Windows.Storage.Streams.Buffer): void; + sendBuffer(midiData: Windows.Storage.Streams.IBuffer): void; /** * Send the data in the specified MIDI message to the device associated with this MidiOutPort . * @param midiMessage The MIDI message to send to the device. @@ -16759,7 +16759,7 @@ declare namespace Windows { /** Gets the channel from 0-15 that this message applies to. */ channel: number; /** Gets the array of bytes associated with the MIDI message, including status byte. */ - rawData: Windows.Storage.Streams.Buffer; + rawData: Windows.Storage.Streams.IBuffer; /** Gets the duration from when the MidiInPort was created to the time the message was received. For messages being sent to a MidiOutPort , this value has no meaning. */ timestamp: number; /** Gets the type of this MIDI message. */ @@ -16781,7 +16781,7 @@ declare namespace Windows { /** Gets the polyphonic key pressure which is specified as a value from 0-127. */ pressure: number; /** Gets the array of bytes associated with the MIDI message, including status byte. */ - rawData: Windows.Storage.Streams.Buffer; + rawData: Windows.Storage.Streams.IBuffer; /** Gets the duration from when the MidiInPort was created to the time the message was received. For messages being sent to a MidiOutPort , this value has no meaning. */ timestamp: number; /** Gets the type of this MIDI message. */ @@ -16800,7 +16800,7 @@ declare namespace Windows { /** Gets the program to change from 0-127. */ program: number; /** Gets the array of bytes associated with the MIDI message, including status byte. */ - rawData: Windows.Storage.Streams.Buffer; + rawData: Windows.Storage.Streams.IBuffer; /** Gets the duration from when the MidiInPort was created to the time the message was received. For messages being sent to a MidiOutPort , this value has no meaning. */ timestamp: number; /** Gets the type of this MIDI message. */ @@ -16816,7 +16816,7 @@ declare namespace Windows { /** Gets the song position pointer encoded in a 14-bit value from 0-16383. */ beats: number; /** Gets the array of bytes associated with the MIDI message, including status byte. */ - rawData: Windows.Storage.Streams.Buffer; + rawData: Windows.Storage.Streams.IBuffer; /** Gets the duration from when the MidiInPort was created to the time the message was received. For messages being sent to a MidiOutPort , this value has no meaning. */ timestamp: number; /** Gets the type of this MIDI message. */ @@ -16830,7 +16830,7 @@ declare namespace Windows { */ constructor(song: number); /** Gets the array of bytes associated with the MIDI message, including status byte. */ - rawData: Windows.Storage.Streams.Buffer; + rawData: Windows.Storage.Streams.IBuffer; /** Gets the song to select from 0-127. */ song: number; /** Gets the duration from when the MidiInPort was created to the time the message was received. For messages being sent to a MidiOutPort , this value has no meaning. */ @@ -16843,7 +16843,7 @@ declare namespace Windows { /** Creates a new MidiStartMessage object. */ constructor(); /** Gets the array of bytes associated with the MIDI message, including status byte. */ - rawData: Windows.Storage.Streams.Buffer; + rawData: Windows.Storage.Streams.IBuffer; /** Gets the duration from when the MidiInPort was created to the time the message was received. For messages being sent to a MidiOutPort , this value has no meaning. */ timestamp: number; /** Gets the type of this MIDI message. */ @@ -16854,7 +16854,7 @@ declare namespace Windows { /** Creates a new MidiStopMessage object. */ constructor(); /** Gets the array of bytes associated with the MIDI message, including status byte. */ - rawData: Windows.Storage.Streams.Buffer; + rawData: Windows.Storage.Streams.IBuffer; /** Gets the duration from when the MidiInPort was created to the time the message was received. For messages being sent to a MidiOutPort , this value has no meaning. */ timestamp: number; /** Gets the type of this MIDI message. */ @@ -16889,7 +16889,7 @@ declare namespace Windows { * Sends an array of bytes through the synthesizer's out port . This enables you to send your data as a byte array instead of as a defined MIDI message. * @param midiData The array of bytes to send. */ - sendBuffer(midiData: Windows.Storage.Streams.Buffer): void; + sendBuffer(midiData: Windows.Storage.Streams.IBuffer): void; /** * Sends a MIDI message through the Microsoft MIDI synthesizer's out port . * @param midiMessage The MIDI message to send. @@ -16904,9 +16904,9 @@ declare namespace Windows { * Creates a new MidiSystemExclusiveMessage object. * @param rawData The system exclusive data. */ - constructor(rawData: Windows.Storage.Streams.Buffer); + constructor(rawData: Windows.Storage.Streams.IBuffer); /** Gets the array of bytes associated with the MIDI message, including status byte. */ - rawData: Windows.Storage.Streams.Buffer; + rawData: Windows.Storage.Streams.IBuffer; /** Gets the duration from when the MidiInPort was created to the time the message was received. For messages being sent to a MidiOutPort , this value has no meaning. */ timestamp: number; /** Gets the type of this MIDI message. */ @@ -16917,7 +16917,7 @@ declare namespace Windows { /** Creates a new MidiSystemResetMessage object. */ constructor(); /** Gets the array of bytes associated with the MIDI message, including status byte. */ - rawData: Windows.Storage.Streams.Buffer; + rawData: Windows.Storage.Streams.IBuffer; /** Gets the duration from when the MidiInPort was created to the time the message was received. For messages being sent to a MidiOutPort , this value has no meaning. */ timestamp: number; /** Gets the type of this MIDI message. */ @@ -16934,7 +16934,7 @@ declare namespace Windows { /** Gets the value of the frame type from 0-7. */ frameType: number; /** Gets the array of bytes associated with the MIDI message, including status byte. */ - rawData: Windows.Storage.Streams.Buffer; + rawData: Windows.Storage.Streams.IBuffer; /** Gets the duration from when the MidiInPort was created to the time the message was received. For messages being sent to a MidiOutPort , this value has no meaning. */ timestamp: number; /** Gets the type of this MIDI message. */ @@ -16947,7 +16947,7 @@ declare namespace Windows { /** Creates a new MidiTimingClockMessage object. */ constructor(); /** Gets the array of bytes associated with the MIDI message, including status byte. */ - rawData: Windows.Storage.Streams.Buffer; + rawData: Windows.Storage.Streams.IBuffer; /** Gets the duration from when the MidiInPort was created to the time the message was received. For messages being sent to a MidiOutPort , this value has no meaning. */ timestamp: number; /** Gets the type of this MIDI message. */ @@ -16958,7 +16958,7 @@ declare namespace Windows { /** Creates a new MidiTuneRequestMessage object. */ constructor(); /** Gets the array of bytes associated with the MIDI message, including status byte. */ - rawData: Windows.Storage.Streams.Buffer; + rawData: Windows.Storage.Streams.IBuffer; /** Gets the duration from when the MidiInPort was created to the time the message was received. For messages being sent to a MidiOutPort , this value has no meaning. */ timestamp: number; /** Gets the type of this MIDI message. */ @@ -16967,7 +16967,7 @@ declare namespace Windows { /** Represents a MIDI message which is implemented by all MIDI message classes. */ interface IMidiMessage { /** Gets the array of bytes associated with the MIDI message, including status byte. */ - rawData: Windows.Storage.Streams.Buffer; + rawData: Windows.Storage.Streams.IBuffer; /** Gets the duration from when the MidiInPort was created to the time the message was received. For messages being sent to a MidiOutPort , this value has no meaning. */ timestamp: number; /** Gets the type of this MIDI message. */ @@ -16979,7 +16979,7 @@ declare namespace Windows { * Sends the contents of the buffer through the MIDI out port. * @param midiData The data to send to the device. */ - sendBuffer(midiData: Windows.Storage.Streams.Buffer): void; + sendBuffer(midiData: Windows.Storage.Streams.IBuffer): void; /** * Send the data in the specified MIDI message to the device associated with this MidiOutPort . * @param midiMessage The MIDI message to send to the device. @@ -17847,7 +17847,7 @@ declare namespace Windows { /** Represents a frame of data from the device. */ abstract class PerceptionFrame { /** The actual bytes of the frame which can be consumed as described by the Properties of the IPerceptionFrameProvider which produced the frame. */ - frameData: Windows.Foundation.MemoryBuffer; + frameData: Windows.Foundation.IMemoryBuffer; /** Gets the Properties for this frame. */ properties: Windows.Foundation.Collections.ValueSet; /** Gets or sets the Relative Time of this frame relative to other frames from this IPerceptionFrameProvider. */ @@ -17989,7 +17989,7 @@ declare namespace Windows { /** Gets the PerceptionFrameProviderInfo describing this device. */ frameProviderInfo: Windows.Devices.Perception.Provider.PerceptionFrameProviderInfo; /** The properties describing the device and the frames produced by the device. */ - properties: Windows.Foundation.Collections.PropertySet; + properties: Windows.Foundation.Collections.IPropertySet; } /** The IPerceptionFrameProviderManager is expected to provide any IPerceptionFrameProvider that has been registered via PerceptionFrameProviderManagerService::RegisterFrameProviderInfo(). */ interface IPerceptionFrameProviderManager extends Windows.Foundation.IClosable { @@ -18068,7 +18068,7 @@ declare namespace Windows { * @param statisticsCategories The list of statistics to retrieve. * @return IBuffer representing the requested statistics. */ - retrieveStatisticsAsync(statisticsCategories: Windows.Foundation.Collections.IIterable): Windows.Foundation.IPromiseWithIAsyncOperation; + retrieveStatisticsAsync(statisticsCategories: Windows.Foundation.Collections.IIterable): Windows.Foundation.IPromiseWithIAsyncOperation; addEventListener(type: string, listener: Windows.Foundation.EventHandler): void; removeEventListener(type: string, listener: Windows.Foundation.EventHandler): void; } @@ -18107,9 +18107,9 @@ declare namespace Windows { /** Contains the barcode scanner data. */ abstract class BarcodeScannerReport { /** Gets the full raw data from the DataReceived event. */ - scanData: Windows.Storage.Streams.Buffer; + scanData: Windows.Storage.Streams.IBuffer; /** Gets the decoded barcode label, which does not include the header, checksum, and other miscellaneous information. */ - scanDataLabel: Windows.Storage.Streams.Buffer; + scanDataLabel: Windows.Storage.Streams.IBuffer; /** Gets the decoded barcode label type. Possible values are defined in the BarcodeSymbologies class. */ scanDataType: number; } @@ -18713,7 +18713,7 @@ declare namespace Windows { * Retrieves a challenge token from the device. * @return Buffer used to store the resulting challenge token from the device. */ - retrieveDeviceAuthenticationDataAsync(): Windows.Foundation.IPromiseWithIAsyncOperation; + retrieveDeviceAuthenticationDataAsync(): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Sets the type of error to report by the ErrorOccurred event. * @param value Error reporting type. @@ -19016,7 +19016,7 @@ declare namespace Windows { * @param statisticsCategories The list of statistics to retrieve. * @return IBuffer representing the requested statistics. */ - retrieveStatisticsAsync(statisticsCategories: Windows.Foundation.Collections.IIterable): Windows.Foundation.IPromiseWithIAsyncOperation; + retrieveStatisticsAsync(statisticsCategories: Windows.Foundation.Collections.IIterable): Windows.Foundation.IPromiseWithIAsyncOperation; /** Gets the card types supported by the magnetic stripe reader. */ supportedCardTypes: number; addEventListener(type: string, listener: Windows.Foundation.EventHandler): void; @@ -19170,9 +19170,9 @@ declare namespace Windows { /** Contains data from the recently swiped card. */ abstract class MagneticStripeReaderReport { /** Gets the additional security or encryption information for the recently swiped card. */ - additionalSecurityInformation: Windows.Storage.Streams.Buffer; + additionalSecurityInformation: Windows.Storage.Streams.IBuffer; /** Gets the card authentication information for the recently swiped card. */ - cardAuthenticationData: Windows.Storage.Streams.Buffer; + cardAuthenticationData: Windows.Storage.Streams.IBuffer; /** Gets the length of the raw CardAuthenticationData before it is encrypted. */ cardAuthenticationDataLength: number; /** Gets the card type identifier for the recently swiped card. */ @@ -19207,11 +19207,11 @@ declare namespace Windows { /** Contains the track data obtained following a card swipe. */ abstract class MagneticStripeReaderTrackData { /** Gets the raw or decoded data from the swiped card. */ - data: Windows.Storage.Streams.Buffer; + data: Windows.Storage.Streams.IBuffer; /** Gets the discretionary data from the swiped card. */ - discretionaryData: Windows.Storage.Streams.Buffer; + discretionaryData: Windows.Storage.Streams.IBuffer; /** Gets the encrypted data from the swiped card. */ - encryptedData: Windows.Storage.Streams.Buffer; + encryptedData: Windows.Storage.Streams.IBuffer; } /** Defines the constants that indicates the track error type. */ enum MagneticStripeReaderTrackErrorType { @@ -20379,7 +20379,7 @@ declare namespace Windows { * @param targetStream The scanned image file. * @return The progress of the scan and the scanned file format. */ - scanPreviewToStreamAsync(scanSource: Windows.Devices.Scanners.ImageScannerScanSource, targetStream: Windows.Storage.Streams.RandomAccessStream): Windows.Foundation.IPromiseWithIAsyncOperation; + scanPreviewToStreamAsync(scanSource: Windows.Devices.Scanners.ImageScannerScanSource, targetStream: Windows.Storage.Streams.IRandomAccessStream): Windows.Foundation.IPromiseWithIAsyncOperation; } /** Represents the auto-configured scan source of the scanner. */ abstract class ImageScannerAutoConfiguration { @@ -21637,7 +21637,7 @@ declare namespace Windows { * Returns the smart card's Answer to Reset (ATR), a standard series of bytes that contains info about the smart card's characteristics, behaviors, and state. * @return The smart card's ATR byte set. */ - getAnswerToResetAsync(): Windows.Foundation.IPromiseWithIAsyncOperation; + getAnswerToResetAsync(): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Returns the smart card's status. * @return One of the SmartCardStatus enumeration values, representing the smart card's status. @@ -21649,14 +21649,14 @@ declare namespace Windows { /** Represents a smart card authentication challenge/response operation. */ abstract class SmartCardChallengeContext { /** Gets the smart card's challenge value. */ - challenge: Windows.Storage.Streams.Buffer; + challenge: Windows.Storage.Streams.IBuffer; /** * Changes the smart card's admin key (also known as an administrator PIN or unblock PIN). * @param response The response to a smart card authentication challenge/response operation. * @param newAdministrativeKey The new smart card admin key. * @return An asynchronous action that completes after the admin key change attempt is done. */ - changeAdministrativeKeyAsync(response: Windows.Storage.Streams.Buffer, newAdministrativeKey: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncAction; + changeAdministrativeKeyAsync(response: Windows.Storage.Streams.IBuffer, newAdministrativeKey: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncAction; /** Completes the smart card authentication challenge/response operation and frees associated system resources. */ close(): void; /** @@ -21665,7 +21665,7 @@ declare namespace Windows { * @param formatCard True to format the smart card; otherwise false. * @return An asynchronous action that completes after the smart card reconfiguration attempt is done. */ - provisionAsync(response: Windows.Storage.Streams.Buffer, formatCard: boolean): Windows.Foundation.IPromiseWithIAsyncAction; + provisionAsync(response: Windows.Storage.Streams.IBuffer, formatCard: boolean): Windows.Foundation.IPromiseWithIAsyncAction; /** * Reconfigures an existing, configured smart card with a new response and ID. Optionally, formats the smart card. * @param response The new response to a smart card authentication challenge/response operation. @@ -21673,13 +21673,13 @@ declare namespace Windows { * @param newCardId The new smart card ID. * @return An asynchronous action that completes after the smart card reconfiguration attempt is done. */ - provisionAsync(response: Windows.Storage.Streams.Buffer, formatCard: boolean, newCardId: string): Windows.Foundation.IPromiseWithIAsyncAction; + provisionAsync(response: Windows.Storage.Streams.IBuffer, formatCard: boolean, newCardId: string): Windows.Foundation.IPromiseWithIAsyncAction; /** * Verifies the response to the smart card challenge request. * @param response The response to the smart card challenge request. * @return After the verification attempt is done, true if the response was successfully verified; otherwise false. */ - verifyResponseAsync(response: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncOperation; + verifyResponseAsync(response: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncOperation; } /** Represents a connection to a smart card. */ abstract class SmartCardConnection { @@ -21690,7 +21690,7 @@ declare namespace Windows { * @param command The APDU command to transmit to the smart card. * @return An asynchronous operation that, when completed, returns the response to the command that was transmitted. */ - transmitAsync(command: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncOperation; + transmitAsync(command: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncOperation; } /** Specifies the rules for characters in a smart card personal identification number (PIN). */ enum SmartCardPinCharacterPolicyOption { @@ -21726,7 +21726,7 @@ declare namespace Windows { /** Represents a smart card personal identification number (PIN) reset request. */ abstract class SmartCardPinResetRequest { /** Gets the smart card's challenge value. */ - challenge: Windows.Storage.Streams.Buffer; + challenge: Windows.Storage.Streams.IBuffer; /** Gets the length of time to wait before requesting the smart card personal identification number (PIN) reset. */ deadline: Date; /** @@ -21738,7 +21738,7 @@ declare namespace Windows { * Sets the response to a smart card authentication challenge/response operation. * @param response The response to a smart card authentication challenge/response operation. */ - setResponse(response: Windows.Storage.Streams.Buffer): void; + setResponse(response: Windows.Storage.Streams.IBuffer): void; } /** Represents info about, and operations for, configuring smart cards. */ abstract class SmartCardProvisioning { @@ -21757,7 +21757,7 @@ declare namespace Windows { * @param cardId The smart card's ID. * @return After the operation completes, returns an instance of SmartCardProvisioning , representing the configured TPM virtual smart card. */ - static requestVirtualSmartCardCreationAsync(friendlyName: string, administrativeKey: Windows.Storage.Streams.Buffer, pinPolicy: Windows.Devices.SmartCards.SmartCardPinPolicy, cardId: string): Windows.Foundation.IPromiseWithIAsyncOperation; + static requestVirtualSmartCardCreationAsync(friendlyName: string, administrativeKey: Windows.Storage.Streams.IBuffer, pinPolicy: Windows.Devices.SmartCards.SmartCardPinPolicy, cardId: string): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Creates a Trusted Platform Module (TPM) virtual smart card with a given human-readable name, admin key, and personal identification number (PIN) rules set. * @param friendlyName The smart card's human-readable name. @@ -21765,7 +21765,7 @@ declare namespace Windows { * @param pinPolicy The smart card's PIN rules set. * @return After the operation completes, returns an instance of SmartCardProvisioning , representing the configured TPM virtual smart card. */ - static requestVirtualSmartCardCreationAsync(friendlyName: string, administrativeKey: Windows.Storage.Streams.Buffer, pinPolicy: Windows.Devices.SmartCards.SmartCardPinPolicy): Windows.Foundation.IPromiseWithIAsyncOperation; + static requestVirtualSmartCardCreationAsync(friendlyName: string, administrativeKey: Windows.Storage.Streams.IBuffer, pinPolicy: Windows.Devices.SmartCards.SmartCardPinPolicy): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Deletes a Trusted Platform Module (TPM) virtual smart card. * @param card The TPM virtual smart card to delete. @@ -22015,7 +22015,7 @@ declare namespace Windows { /** Constructor. Used to create an SmsAppMessage prior to sending it. */ constructor(); /** Reads or writes the binary part of the Application message. */ - binaryBody: Windows.Storage.Streams.Buffer; + binaryBody: Windows.Storage.Streams.IBuffer; /** The plain text body of the message. */ body: string; /** The number to be dialed in reply to a received SMS message. */ @@ -22619,7 +22619,7 @@ declare namespace Windows { * @param format A value from the SmsDataFormat enumeration. * @return The new binary message that holds the result of this method call. */ - toBinaryMessages(format: Windows.Devices.Sms.SmsDataFormat): Windows.Foundation.Collections.IVectorView; + toBinaryMessages(format: Windows.Devices.Sms.SmsDataFormat): Windows.Foundation.Collections.IVectorView; } /** Encapsulates a decoded SMS text message. Prefer this class to the older SmsTextMessage class. */ class SmsTextMessage2 { @@ -22682,7 +22682,7 @@ declare namespace Windows { /** Gets the value of the X-Wap-Application-Id header of the SmsWapMessage . */ applicationId: string; /** Gets the binary body of the blob in the SmsWapMessage . */ - binaryBody: Windows.Storage.Streams.Buffer; + binaryBody: Windows.Storage.Streams.IBuffer; /** Gets the cellular class of the SMS device that received the message. */ cellularClass: Windows.Devices.Sms.CellularClass; /** Gets the value of the Content-Type header in the SmsWapMessage . Parameters are presents in the Headers property. */ @@ -23035,7 +23035,7 @@ declare namespace Windows { * Reads descriptor data in the caller-supplied buffer. * @param buffer A caller-supplied buffer that receives descriptor data. */ - readDescriptorBuffer(buffer: Windows.Storage.Streams.Buffer): void; + readDescriptorBuffer(buffer: Windows.Storage.Streams.IBuffer): void; } /** Represents a USB device. The object provides methods and properties that an app can use to find the device (in the system) with which the app wants to communicate, and sends IN and OUT control transfers to the device. */ abstract class UsbDevice { @@ -23086,13 +23086,13 @@ declare namespace Windows { * @param buffer A caller-supplied buffer that contains transfer data. * @return Returns an IAsyncOperation(IBuffer) object that returns the results of the operation. */ - sendControlInTransferAsync(setupPacket: Windows.Devices.Usb.UsbSetupPacket, buffer: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncOperation; + sendControlInTransferAsync(setupPacket: Windows.Devices.Usb.UsbSetupPacket, buffer: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Starts a zero-length USB control transfer that reads from the default control endpoint of the device. * @param setupPacket A UsbSetupPacket object that contains the setup packet for the control transfer. * @return Returns an IAsyncOperation(IBuffer) object that returns the results of the operation. */ - sendControlInTransferAsync(setupPacket: Windows.Devices.Usb.UsbSetupPacket): Windows.Foundation.IPromiseWithIAsyncOperation; + sendControlInTransferAsync(setupPacket: Windows.Devices.Usb.UsbSetupPacket): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Starts a zero-length USB control transfer that writes to the default control endpoint of the device. * @param setupPacket A UsbSetupPacket object that contains the setup packet for the control transfer. @@ -23105,7 +23105,7 @@ declare namespace Windows { * @param buffer A caller-supplied buffer that contains the transfer data. * @return Returns an IAsyncOperation(UInt32) object that returns the results of the operation. */ - sendControlOutTransferAsync(setupPacket: Windows.Devices.Usb.UsbSetupPacket, buffer: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncOperation; + sendControlOutTransferAsync(setupPacket: Windows.Devices.Usb.UsbSetupPacket, buffer: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncOperation; } /** Provides a way for the app to get an Advanced Query Syntax (AQS) string by specifying the class code, subclass code, and the protocol code defined by the device. The properties in this class are passed in the call to GetDeviceClassSelector . */ class UsbDeviceClass { @@ -23272,7 +23272,7 @@ declare namespace Windows { /** Represents the object that is passed as a parameter to the event handler for the DataReceived event. */ abstract class UsbInterruptInEventArgs { /** Gets data from the interrupt IN endpoint. */ - interruptData: Windows.Storage.Streams.Buffer; + interruptData: Windows.Storage.Streams.IBuffer; } /** Represents the pipe that the underlying USB driver opens to communicate with a USB interrupt IN endpoint of the device. The object also enables the app to specify an event handler. That handler that gets invoked when data is read from the endpoint. */ abstract class UsbInterruptInPipe { @@ -23336,7 +23336,7 @@ declare namespace Windows { * Creates a UsbSetupPacket object from a formatted buffer (eight bytes) that contains the setup packet. * @param eightByteBuffer A caller-supplied buffer that contains the setup packet formatted as per the standard USB specification. The length of the buffer must be eight bytes because that is the size of a setup packet on the bus. */ - constructor(eightByteBuffer: Windows.Storage.Streams.Buffer); + constructor(eightByteBuffer: Windows.Storage.Streams.IBuffer); /** Gets or sets the wIndex field in the setup packet of the USB control transfer. */ index: number; /** Gets the length, in bytes, of the setup packet. */ @@ -23560,7 +23560,7 @@ declare namespace Windows { * @param serviceInfoFilter A byte sequence that must be found in the advertiser's service information blob. * @return The AQS string for the requested advertiser query. */ - static getSelector(serviceName: string, serviceInfoFilter: Windows.Storage.Streams.Buffer): string; + static getSelector(serviceName: string, serviceInfoFilter: Windows.Storage.Streams.IBuffer): string; /** * Initiates the establishment of a service session with the Wi-Fi Direct Service represented by this instance. * @return An asynchronous connection operation. When successfully completed, returns an object that represents the session that has been established. @@ -23585,11 +23585,11 @@ declare namespace Windows { /** Gets or sets a value specifying whether the service instance should choose Wi-Fi Direct Point to Point (P2P) Group Owner (GO) mode. */ preferGroupOwnerMode: boolean; /** Gets the service information blob from this service instance. */ - remoteServiceInfo: Windows.Storage.Streams.Buffer; + remoteServiceInfo: Windows.Storage.Streams.IBuffer; /** Error information about the latest attempt to connect to the service. */ serviceError: Windows.Devices.WiFiDirect.Services.WiFiDirectServiceError; /** Gets or sets app-specific session information passed to the server when initiating a session. */ - sessionInfo: Windows.Storage.Streams.Buffer; + sessionInfo: Windows.Storage.Streams.IBuffer; /** Gets a list of supported configuration methods, ordered by preference. Your code uses IVector operations to modify the contents of the list. */ supportedConfigurationMethods: Windows.Foundation.Collections.IVectorView; addEventListener(type: string, listener: Windows.Foundation.EventHandler): void; @@ -23633,7 +23633,7 @@ declare namespace Windows { /** Gets or sets a custom service status code. Only valid if the ServiceStatus property value is Custom. */ customServiceStatusCode: number; /** Gets or sets the service-specific information that is passed to a session requester when establishing a session will not be completed immediately, as when, for example, the service is waiting for user input to complete the request. A requester should implement a 120 second timeout when its request is deferred. */ - deferredSessionInfo: Windows.Storage.Streams.Buffer; + deferredSessionInfo: Windows.Storage.Streams.IBuffer; /** Event raised when the AdvertisementStatus property value changes. */ onadvertisementstatuschanged: Windows.Foundation.TypedEventHandler; addEventListener(type: "advertisementstatuschanged", listener: Windows.Foundation.TypedEventHandler): void; @@ -23653,7 +23653,7 @@ declare namespace Windows { /** Gets a specific error code when AdvertisementStatus is Aborted. */ serviceError: Windows.Devices.WiFiDirect.Services.WiFiDirectServiceError; /** Gets or sets the service information blob. The format and contents of the blob are determined by the individual service, and are intended to be used by Seekers during service discovery. */ - serviceInfo: Windows.Storage.Streams.Buffer; + serviceInfo: Windows.Storage.Streams.IBuffer; /** Gets the service name. */ serviceName: string; /** Gets a list of service name prefixes that should match this service when a seeker is using prefix searching. Your code uses IVector methods to add or remove elements from the list. */ @@ -23672,7 +23672,7 @@ declare namespace Windows { /** Gets the WiFiDirectServiceSession that was created when the connection was automatically accepted. */ session: Windows.Devices.WiFiDirect.Services.WiFiDirectServiceSession; /** Gets the session information buffer that corresponds to this automatically accepted connection. */ - sessionInfo: Windows.Storage.Streams.Buffer; + sessionInfo: Windows.Storage.Streams.IBuffer; } /** Values describing how service configuration is performed when a session is being established. Typically, either no input is required, or one device in the session displays a PIN and the other device requires that the PIN be entered. */ enum WiFiDirectServiceConfigurationMethod { @@ -23766,7 +23766,7 @@ declare namespace Windows { /** Returned when a WiFiDirectService.SessionDeferred event is raised. */ abstract class WiFiDirectServiceSessionDeferredEventArgs { /** Gets the service-defined session information returned by the service when it sends a deferral in response to a connection request. Note that a deferral does not indicate that the connection is refused. Rather, it indicates that the server is performing a time-consuming operation such as requesting user input. A seeker should implement a 120-second timeout after getting a deferral before giving up on the request. */ - deferredSessionInfo: Windows.Storage.Streams.Buffer; + deferredSessionInfo: Windows.Storage.Streams.IBuffer; } /** Values used in the WiFiDirectServiceSession.ErrorStatus property. */ enum WiFiDirectServiceSessionErrorStatus { @@ -23792,7 +23792,7 @@ declare namespace Windows { /** Gets information about how provisioning should be performed if the session is established. */ provisioningInfo: Windows.Devices.WiFiDirect.Services.WiFiDirectServiceProvisioningInfo; /** Gets the session information blob associated with this request. */ - sessionInfo: Windows.Storage.Streams.Buffer; + sessionInfo: Windows.Storage.Streams.IBuffer; } /** Returned when a WiFiDirectServiceAdvertiser.SessionRequested event is raised. */ abstract class WiFiDirectServiceSessionRequestedEventArgs { @@ -24008,7 +24008,7 @@ declare namespace Windows { * @param buffer The data buffer that contains a information element. * @return A array of information elements created from the buffer. */ - static createFromBuffer(buffer: Windows.Storage.Streams.Buffer): Windows.Foundation.Collections.IVector; + static createFromBuffer(buffer: Windows.Storage.Streams.IBuffer): Windows.Foundation.Collections.IVector; /** * Create an array of information elements from a DeviceInformation object. * @param deviceInformation The device information object that contains the information elements. @@ -24018,11 +24018,11 @@ declare namespace Windows { /** Creates a new WiFiDirectInformationElement object. */ constructor(); /** A three-byte organization identifier used to indicate the organization which defined a vendor extension information element (IE). */ - oui: Windows.Storage.Streams.Buffer; + oui: Windows.Storage.Streams.IBuffer; /** A one byte type value used in a vendor extension information element (IE) to distinguish between different IE formats defined by the same organization. */ ouiType: number; /** The value of the information element. */ - value: Windows.Storage.Streams.Buffer; + value: Windows.Storage.Streams.IBuffer; } /** Settings governing "legacy" mode (non-Wi-Fi Direct connections to the access point being advertised.) */ abstract class WiFiDirectLegacySettings { @@ -24569,12 +24569,12 @@ declare namespace Windows { * @param loggingChannel The logging channel to add. * @param maxLevel The minimum logging level that an event must have to be accepted by the session. */ - addLoggingChannel(loggingChannel: Windows.Foundation.Diagnostics.LoggingChannel, maxLevel: Windows.Foundation.Diagnostics.LoggingLevel): void; + addLoggingChannel(loggingChannel: Windows.Foundation.Diagnostics.ILoggingChannel, maxLevel: Windows.Foundation.Diagnostics.LoggingLevel): void; /** * Adds a logging channel to the current logging session. * @param loggingChannel The logging channel to add. */ - addLoggingChannel(loggingChannel: Windows.Foundation.Diagnostics.LoggingChannel): void; + addLoggingChannel(loggingChannel: Windows.Foundation.Diagnostics.ILoggingChannel): void; /** Ends the current logging session. */ close(): void; /** @@ -24585,14 +24585,14 @@ declare namespace Windows { /** Gets the name of the logging session. */ name: string; /** Raised when a log file is saved. */ - onlogfilegenerated: Windows.Foundation.TypedEventHandler; - addEventListener(type: "logfilegenerated", listener: Windows.Foundation.TypedEventHandler): void; - removeEventListener(type: "logfilegenerated", listener: Windows.Foundation.TypedEventHandler): void; + onlogfilegenerated: Windows.Foundation.TypedEventHandler; + addEventListener(type: "logfilegenerated", listener: Windows.Foundation.TypedEventHandler): void; + removeEventListener(type: "logfilegenerated", listener: Windows.Foundation.TypedEventHandler): void; /** * Removes the specified logging channel from the current logging session. * @param loggingChannel The logging channel to remove. */ - removeLoggingChannel(loggingChannel: Windows.Foundation.Diagnostics.LoggingChannel): void; + removeLoggingChannel(loggingChannel: Windows.Foundation.Diagnostics.ILoggingChannel): void; addEventListener(type: string, listener: Windows.Foundation.EventHandler): void; removeEventListener(type: string, listener: Windows.Foundation.EventHandler): void; } @@ -24609,13 +24609,13 @@ declare namespace Windows { * @param loggingChannel The logging channel. * @param level The logging level. */ - constructor(activityName: string, loggingChannel: Windows.Foundation.Diagnostics.LoggingChannel, level: Windows.Foundation.Diagnostics.LoggingLevel); + constructor(activityName: string, loggingChannel: Windows.Foundation.Diagnostics.ILoggingChannel, level: Windows.Foundation.Diagnostics.LoggingLevel); /** * Initializes a new instance of the LoggingActivity class for the specified LoggingChannel in Windows 8.1 compatibility mode. * @param activityName The name of the logging activity. * @param loggingChannel The logging channel. */ - constructor(activityName: string, loggingChannel: Windows.Foundation.Diagnostics.LoggingChannel); + constructor(activityName: string, loggingChannel: Windows.Foundation.Diagnostics.ILoggingChannel); /** Returns the channel associated with this activity. */ channel: Windows.Foundation.Diagnostics.LoggingChannel; /** Ends the current logging activity. */ @@ -24816,9 +24816,9 @@ declare namespace Windows { /** Gets the name of the current LoggingChannel . */ name: string; /** Raised when the logging channel is attached to a LoggingSession or other event tracing and debugging tools. */ - onloggingenabled: Windows.Foundation.TypedEventHandler; - addEventListener(type: "loggingenabled", listener: Windows.Foundation.TypedEventHandler): void; - removeEventListener(type: "loggingenabled", listener: Windows.Foundation.TypedEventHandler): void; + onloggingenabled: Windows.Foundation.TypedEventHandler; + addEventListener(type: "loggingenabled", listener: Windows.Foundation.TypedEventHandler): void; + removeEventListener(type: "loggingenabled", listener: Windows.Foundation.TypedEventHandler): void; /** * Writes an activity start event with the specified fields and level, and creates a LoggingActivity object. * @param startEventName The name for this event. @@ -25763,12 +25763,12 @@ declare namespace Windows { * @param loggingChannel The logging channel to add. * @param maxLevel The logging level for loggingChannel. */ - addLoggingChannel(loggingChannel: Windows.Foundation.Diagnostics.LoggingChannel, maxLevel: Windows.Foundation.Diagnostics.LoggingLevel): void; + addLoggingChannel(loggingChannel: Windows.Foundation.Diagnostics.ILoggingChannel, maxLevel: Windows.Foundation.Diagnostics.LoggingLevel): void; /** * Adds a logging channel to the current logging session. * @param loggingChannel The logging channel to add. */ - addLoggingChannel(loggingChannel: Windows.Foundation.Diagnostics.LoggingChannel): void; + addLoggingChannel(loggingChannel: Windows.Foundation.Diagnostics.ILoggingChannel): void; /** Ends the current logging session. */ close(): void; /** Gets the name of the logging session. */ @@ -25777,14 +25777,14 @@ declare namespace Windows { * Removes the specified logging channel from the current logging session. * @param loggingChannel The logging channel to remove. */ - removeLoggingChannel(loggingChannel: Windows.Foundation.Diagnostics.LoggingChannel): void; + removeLoggingChannel(loggingChannel: Windows.Foundation.Diagnostics.ILoggingChannel): void; /** * Saves the current logging session to a file. * @param folder The folder that contains the log file. * @param fileName The name of the log file. * @return When this method completes, it returns the new file as a StorageFile . */ - saveToFileAsync(folder: Windows.Storage.StorageFolder, fileName: string): Windows.Foundation.IPromiseWithIAsyncOperation; + saveToFileAsync(folder: Windows.Storage.IStorageFolder, fileName: string): Windows.Foundation.IPromiseWithIAsyncOperation; } /** Represents diagnostic error reporting settings. */ class RuntimeBrokerErrorSettings { @@ -25848,12 +25848,12 @@ declare namespace Windows { * @param loggingChannel The logging channel to add. * @param maxLevel The logging level for loggingChannel. */ - addLoggingChannel(loggingChannel: Windows.Foundation.Diagnostics.LoggingChannel, maxLevel: Windows.Foundation.Diagnostics.LoggingLevel): void; + addLoggingChannel(loggingChannel: Windows.Foundation.Diagnostics.ILoggingChannel, maxLevel: Windows.Foundation.Diagnostics.LoggingLevel): void; /** * Adds a logging channel to the current logging session. * @param loggingChannel The logging channel to add. */ - addLoggingChannel(loggingChannel: Windows.Foundation.Diagnostics.LoggingChannel): void; + addLoggingChannel(loggingChannel: Windows.Foundation.Diagnostics.ILoggingChannel): void; /** * Ends the current logging session and saves it to a file. * @return When this method completes, it returns the new file as a StorageFile . @@ -25863,7 +25863,7 @@ declare namespace Windows { * Removes the specified logging channel from the current logging session. * @param loggingChannel The logging channel to remove. */ - removeLoggingChannel(loggingChannel: Windows.Foundation.Diagnostics.LoggingChannel): void; + removeLoggingChannel(loggingChannel: Windows.Foundation.Diagnostics.ILoggingChannel): void; /** Gets the name of the logging session. */ name: string; } @@ -26374,7 +26374,7 @@ declare namespace Windows { userName: string; } /** Parses a URL query string, and exposes the results as a read-only vector (list) of name-value pairs from the query string. */ - class WwwFormUrlDecoder extends Array { + class WwwFormUrlDecoder extends Array { /** * Creates and initializes a new instance of the WwwFormUrlDecoder class. * @param query The URL to parse. @@ -26384,13 +26384,13 @@ declare namespace Windows { * Gets an iterator that represents the first name-value pair in the current URL query string. * @return The first name-value pair. */ - first(): Windows.Foundation.Collections.IIterator; + first(): Windows.Foundation.Collections.IIterator; /** * Gets the name-value pair at the specified index in the current URL query string. * @param index The index of the name-value pair. * @return The name-value pair at the position specified by index. */ - getAt(index: number): Windows.Foundation.WwwFormUrlDecoderEntry; + getAt(index: number): Windows.Foundation.IWwwFormUrlDecoderEntry; /** * Gets the first name-value pair that has the specified name, as obtained from the constructing Uniform Resource Identifier (URI) query string. * @param name The name of the value to get. @@ -26402,17 +26402,17 @@ declare namespace Windows { * @param startIndex The index to start getting name-value pairs at. * @return */ - getMany(startIndex: number): { /** The name-value pairs. */ items: Windows.Foundation.WwwFormUrlDecoderEntry; /** The number of name-value pairs in items. */ returnValue: number; }; + getMany(startIndex: number): { /** The name-value pairs. */ items: Windows.Foundation.IWwwFormUrlDecoderEntry; /** The number of name-value pairs in items. */ returnValue: number; }; /** * Gets a value indicating whether the specified IWwwFormUrlDecoderEntry is at the specified index in the current URL query string. * @param value The name-value pair to get the index of. * @return */ - indexOf(value: Windows.Foundation.WwwFormUrlDecoderEntry): { /** The position in value. */ index: number; /** true if value is at the position specified by index; otherwise, false. */ returnValue: boolean; }; + indexOf(value: Windows.Foundation.IWwwFormUrlDecoderEntry): { /** The position in value. */ index: number; /** true if value is at the position specified by index; otherwise, false. */ returnValue: boolean; }; /** Gets the number of the name-value pairs in the current URL query string. */ size: number; - indexOf(value: Windows.Foundation.WwwFormUrlDecoderEntry, ...extra: any[]): { index: number; returnValue: boolean; } /* hack */ - indexOf(searchElement: Windows.Foundation.WwwFormUrlDecoderEntry, fromIndex?: number): number; /* hack */ + indexOf(value: Windows.Foundation.IWwwFormUrlDecoderEntry, ...extra: any[]): { index: number; returnValue: boolean; } /* hack */ + indexOf(searchElement: Windows.Foundation.IWwwFormUrlDecoderEntry, fromIndex?: number): number; /* hack */ } /** Represents a name-value pair in a URL query string. Use the IWwwFormUrlDecoderEntry interface instead; see Remarks. */ abstract class WwwFormUrlDecoderEntry { @@ -26716,7 +26716,7 @@ declare namespace Windows { /** This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. */ status: Windows.Gaming.XboxLive.Storage.GameSaveErrorStatus; /** This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. */ - value: Windows.Foundation.Collections.IMapView; + value: Windows.Foundation.Collections.IMapView; } /** This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. */ abstract class GameSaveBlobInfo { @@ -26775,7 +26775,7 @@ declare namespace Windows { * @param blobsToRead This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. * @return This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. */ - readAsync(blobsToRead: Windows.Foundation.Collections.IMapView): Windows.Foundation.IPromiseWithIAsyncOperation; + readAsync(blobsToRead: Windows.Foundation.Collections.IMapView): Windows.Foundation.IPromiseWithIAsyncOperation; /** * This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. * @param blobsToWrite This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. @@ -26783,7 +26783,7 @@ declare namespace Windows { * @param displayName This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. * @return This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. */ - submitPropertySetUpdatesAsync(blobsToWrite: Windows.Foundation.Collections.PropertySet, blobsToDelete: Windows.Foundation.Collections.IIterable, displayName: string): Windows.Foundation.IPromiseWithIAsyncOperation; + submitPropertySetUpdatesAsync(blobsToWrite: Windows.Foundation.Collections.IPropertySet, blobsToDelete: Windows.Foundation.Collections.IIterable, displayName: string): Windows.Foundation.IPromiseWithIAsyncOperation; /** * This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. * @param blobsToWrite This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. @@ -26791,7 +26791,7 @@ declare namespace Windows { * @param displayName This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. * @return This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. */ - submitUpdatesAsync(blobsToWrite: Windows.Foundation.Collections.IMapView, blobsToDelete: Windows.Foundation.Collections.IIterable, displayName: string): Windows.Foundation.IPromiseWithIAsyncOperation; + submitUpdatesAsync(blobsToWrite: Windows.Foundation.Collections.IMapView, blobsToDelete: Windows.Foundation.Collections.IIterable, displayName: string): Windows.Foundation.IPromiseWithIAsyncOperation; } /** This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. */ abstract class GameSaveContainerInfo { @@ -28930,7 +28930,7 @@ declare namespace Windows { * Asynchronously gets the default International Color Consortium (ICC) color profile that is associated with the physical display. * @return Object that manages the asynchronous retrieval of the color profile. */ - getColorProfileAsync(): Windows.Foundation.IPromiseWithIAsyncOperation; + getColorProfileAsync(): Windows.Foundation.IPromiseWithIAsyncOperation; /** Gets the pixels per logical inch of the current environment. */ logicalDpi: number; /** Gets the native orientation of the display monitor, which is typically the orientation where the buttons on the device match the orientation of the monitor. */ @@ -28984,7 +28984,7 @@ declare namespace Windows { * * @return Object that manages the asynchronous retrieval of the color profile. */ - static getColorProfileAsync(): Windows.Foundation.IPromiseWithIAsyncOperation; + static getColorProfileAsync(): Windows.Foundation.IPromiseWithIAsyncOperation; static logicalDpi: number; static nativeOrientation: Windows.Graphics.Display.DisplayOrientations; static oncolorprofilechanged: Windows.Graphics.Display.DisplayPropertiesEventHandler; @@ -29174,14 +29174,14 @@ declare namespace Windows { * @param stream The stream containing the image file to be decoded. * @return An object that manages the asynchronous creation of a new BitmapDecoder . */ - static createAsync(stream: Windows.Storage.Streams.RandomAccessStream): Windows.Foundation.IPromiseWithIAsyncOperation; + static createAsync(stream: Windows.Storage.Streams.IRandomAccessStream): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Asynchronously creates a new BitmapDecoder using a specific bitmap codec and initializes it using a stream. * @param decoderId The unique identifier of the specified bitmap codec. * @param stream The stream containing the image file to be decoded. * @return An object that manages the asynchronous creation of a new BitmapDecoder . */ - static createAsync(decoderId: string, stream: Windows.Storage.Streams.RandomAccessStream): Windows.Foundation.IPromiseWithIAsyncOperation; + static createAsync(decoderId: string, stream: Windows.Storage.Streams.IRandomAccessStream): Windows.Foundation.IPromiseWithIAsyncOperation; /** * The bitmap decoders installed on the system and information about them. * @return A list of BitmapCodecInformation objects containing information about each decoder. @@ -29288,14 +29288,14 @@ declare namespace Windows { * @param encodingOptions A collection of key-value pairs containing one or more codec-specific encoding options and the desired values. * @return An object that manages the asynchronous creation of a new BitmapEncoder . */ - static createAsync(encoderId: string, stream: Windows.Storage.Streams.RandomAccessStream, encodingOptions: Windows.Foundation.Collections.IIterable>): Windows.Foundation.IPromiseWithIAsyncOperation; + static createAsync(encoderId: string, stream: Windows.Storage.Streams.IRandomAccessStream, encodingOptions: Windows.Foundation.Collections.IIterable>): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Asynchronously creates a new BitmapEncoder . * @param encoderId The unique identifier of the specified encoder. * @param stream The output stream. * @return An object that manages the asynchronous creation of a new BitmapEncoder . */ - static createAsync(encoderId: string, stream: Windows.Storage.Streams.RandomAccessStream): Windows.Foundation.IPromiseWithIAsyncOperation; + static createAsync(encoderId: string, stream: Windows.Storage.Streams.IRandomAccessStream): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Asynchronously creates a new BitmapEncoder for in-place property and metadata editing. The new encoder can only edit bitmap properties in-place and will fail for any other uses. * @param bitmapDecoder A BitmapDecoder containing the image data to be edited. This parameter must be created on a stream with an access mode of ReadWrite . @@ -29308,7 +29308,7 @@ declare namespace Windows { * @param bitmapDecoder A BitmapDecoder containing the image data to be copied. * @return An object that manages the asynchronous creation of a new BitmapEncoder using data from an existing BitmapDecoder . */ - static createForTranscodingAsync(stream: Windows.Storage.Streams.RandomAccessStream, bitmapDecoder: Windows.Graphics.Imaging.BitmapDecoder): Windows.Foundation.IPromiseWithIAsyncOperation; + static createForTranscodingAsync(stream: Windows.Storage.Streams.IRandomAccessStream, bitmapDecoder: Windows.Graphics.Imaging.BitmapDecoder): Windows.Foundation.IPromiseWithIAsyncOperation; /** * A list of the bitmap encoders installed on the system and information about them. * @return A list of BitmapCodecInformation objects containing information about each encoder. @@ -29611,7 +29611,7 @@ declare namespace Windows { * Returns the file stream for the ImageStream . * @return The file stream for the image. */ - cloneStream(): Windows.Storage.Streams.RandomAccessStream; + cloneStream(): Windows.Storage.Streams.IRandomAccessStream; /** Closes the ImageStream . */ close(): void; /** Returns the data format of the stream. */ @@ -29642,7 +29642,7 @@ declare namespace Windows { * @param options The options for the stream to be read. * @return The byte reader operation. */ - readAsync(buffer: Windows.Storage.Streams.Buffer, count: number, options: Windows.Storage.Streams.InputStreamOptions): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + readAsync(buffer: Windows.Storage.Streams.IBuffer, count: number, options: Windows.Storage.Streams.InputStreamOptions): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; /** * Sets the position of the stream to the specified value. * @param position The new position of the stream. @@ -29655,7 +29655,7 @@ declare namespace Windows { * @param buffer The buffer into which the asynchronous writer operation writes. * @return The byte writer operation. */ - writeAsync(buffer: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + writeAsync(buffer: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; } /** Specifies which chroma subsampling mode will be used for image compression in JPEG images. */ enum JpegSubsamplingMode { @@ -29724,7 +29724,7 @@ declare namespace Windows { * @param height The height of the software bitmap, in pixels. * @return The new software bitmap. */ - static createCopyFromBuffer(source: Windows.Storage.Streams.Buffer, format: Windows.Graphics.Imaging.BitmapPixelFormat, width: number, height: number): Windows.Graphics.Imaging.SoftwareBitmap; + static createCopyFromBuffer(source: Windows.Storage.Streams.IBuffer, format: Windows.Graphics.Imaging.BitmapPixelFormat, width: number, height: number): Windows.Graphics.Imaging.SoftwareBitmap; /** * Creates a new SoftwareBitmap by performing a deep copy of the provided buffer. Modifications to the data in the new SoftwareBitmap will not effect the buffer from which it was created. * @param source The source buffer from which the copy will be created. @@ -29734,7 +29734,7 @@ declare namespace Windows { * @param alpha The alpha mode of the software bitmap. * @return The new software bitmap. */ - static createCopyFromBuffer(source: Windows.Storage.Streams.Buffer, format: Windows.Graphics.Imaging.BitmapPixelFormat, width: number, height: number, alpha: Windows.Graphics.Imaging.BitmapAlphaMode): Windows.Graphics.Imaging.SoftwareBitmap; + static createCopyFromBuffer(source: Windows.Storage.Streams.IBuffer, format: Windows.Graphics.Imaging.BitmapPixelFormat, width: number, height: number, alpha: Windows.Graphics.Imaging.BitmapAlphaMode): Windows.Graphics.Imaging.SoftwareBitmap; /** * Asynchronously creates a new SoftwareBitmap by performing a deep copy of the provided IDirect3DSurface . Modifications to the data in the new SoftwareBitmap will not effect the surface from which it was created. * @param surface The source surface from which the copy will be created. @@ -29773,7 +29773,7 @@ declare namespace Windows { * Copies the pixel data from an IBuffer into the SoftwareBitmap . * @param buffer The buffer containing the pixel data to be copied. */ - copyFromBuffer(buffer: Windows.Storage.Streams.Buffer): void; + copyFromBuffer(buffer: Windows.Storage.Streams.IBuffer): void; /** * Copies the current SoftwareBitmap into the provided SoftwareBitmap object. * @param bitmap The target software bitmap into which the data will be copied. @@ -29783,7 +29783,7 @@ declare namespace Windows { * Copies the software bitmap pixel data into the specified IBuffer . * @param buffer The target buffer to which the pixel data will be copied. */ - copyToBuffer(buffer: Windows.Storage.Streams.Buffer): void; + copyToBuffer(buffer: Windows.Storage.Streams.IBuffer): void; /** Gets or sets the dots per inch of the software bitmap in the X direction. */ dpiX: number; /** Gets or sets the dots per inch of the software bitmap in the Y direction. */ @@ -31137,7 +31137,7 @@ declare namespace Windows { * @param value A 3MF file stream. * @return A Printing3D3MFPackage created from the specified 3MF package stream. */ - static loadAsync(value: Windows.Storage.Streams.RandomAccessStream): Windows.Foundation.IPromiseWithIAsyncOperation; + static loadAsync(value: Windows.Storage.Streams.IRandomAccessStream): Windows.Foundation.IPromiseWithIAsyncOperation; /** Creates a Printing3D3MFPackage object. */ constructor(); /** @@ -31145,16 +31145,16 @@ declare namespace Windows { * @param value A 3MF file stream. * @return A Printing3DModel object created from the specified 3MF object stream. */ - loadModelFromPackageAsync(value: Windows.Storage.Streams.RandomAccessStream): Windows.Foundation.IPromiseWithIAsyncOperation; + loadModelFromPackageAsync(value: Windows.Storage.Streams.IRandomAccessStream): Windows.Foundation.IPromiseWithIAsyncOperation; /** Gets or sets an XML stream to the 3D model in the 3D Manufacturing Format (3MF) package. */ - modelPart: Windows.Storage.Streams.RandomAccessStream; + modelPart: Windows.Storage.Streams.IRandomAccessStream; /** Gets or sets a stream to the print ticket in the 3D Manufacturing Format (3MF) package. */ - printTicket: Windows.Storage.Streams.RandomAccessStream; + printTicket: Windows.Storage.Streams.IRandomAccessStream; /** * Saves the Printing3D3MFPackage object to a 3D Manufacturing Format (3MF) file stream. * @return A stream to the 3MF file where the package is to be saved. */ - saveAsync(): Windows.Foundation.IPromiseWithIAsyncOperation; + saveAsync(): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Saves the specified 3D model to the 3D Manufacturing Format (3MF) package. * @param value The 3D model to be saved to the 3MF package. @@ -31296,9 +31296,9 @@ declare namespace Windows { /** Creates an instance of the Printing3DMesh class. */ constructor(); /** Gets a set of mesh buffer descriptions. */ - bufferDescriptionSet: Windows.Foundation.Collections.PropertySet; + bufferDescriptionSet: Windows.Foundation.Collections.IPropertySet; /** Gets a set of mesh buffers. */ - bufferSet: Windows.Foundation.Collections.PropertySet; + bufferSet: Windows.Foundation.Collections.IPropertySet; /** * Creates the buffer for triangle indices. * @param value The capacity of the buffer, the maximum number of bytes that the IBuffer can hold. @@ -31323,22 +31323,22 @@ declare namespace Windows { * Gets the buffer for triangle indices. * @return The buffer for triangle indices. */ - getTriangleIndices(): Windows.Storage.Streams.Buffer; + getTriangleIndices(): Windows.Storage.Streams.IBuffer; /** * Gets the buffer for triangle material indices. * @return The buffer for triangle material indices. */ - getTriangleMaterialIndices(): Windows.Storage.Streams.Buffer; + getTriangleMaterialIndices(): Windows.Storage.Streams.IBuffer; /** * Gets the buffer for vertex normals. * @return The buffer for vertex normals. */ - getVertexNormals(): Windows.Storage.Streams.Buffer; + getVertexNormals(): Windows.Storage.Streams.IBuffer; /** * Gets the buffer for vertex positions. * @return The buffer for vertex positions. */ - getVertexPositions(): Windows.Storage.Streams.Buffer; + getVertexPositions(): Windows.Storage.Streams.IBuffer; /** Gets or sets the number of triangle indices. */ indexCount: number; /** Gets or sets the buffer description for triangle indices. */ @@ -31818,14 +31818,14 @@ declare namespace Windows { * Disables all effects in the EffectDefinitions list with the specified effect definition. * @param definition The effect definition of the effects to disable. */ - disableEffectsByDefinition(definition: Windows.Media.Effects.AudioEffectDefinition): void; + disableEffectsByDefinition(definition: Windows.Media.Effects.IAudioEffectDefinition): void; /** Gets the list of effect definitions for the audio device input node. */ - effectDefinitions: Windows.Foundation.Collections.IVector; + effectDefinitions: Windows.Foundation.Collections.IVector; /** * Enables all effects in the EffectDefinitions list with the specified effect definition. * @param definition The effect definition of the effects to enable. */ - enableEffectsByDefinition(definition: Windows.Media.Effects.AudioEffectDefinition): void; + enableEffectsByDefinition(definition: Windows.Media.Effects.IAudioEffectDefinition): void; /** Gets the encoding properties for the audio device input node. */ encodingProperties: Windows.Media.MediaProperties.AudioEncodingProperties; /** Gets the list of outgoing connections from the audio device input node to other nodes in the audio graph. */ @@ -31869,14 +31869,14 @@ declare namespace Windows { * Disables all effects in the EffectDefinitions list with the specified effect definition. * @param definition The effect definition of the effects to disable. */ - disableEffectsByDefinition(definition: Windows.Media.Effects.AudioEffectDefinition): void; + disableEffectsByDefinition(definition: Windows.Media.Effects.IAudioEffectDefinition): void; /** Gets the list of effect definitions for the audio device output node. */ - effectDefinitions: Windows.Foundation.Collections.IVector; + effectDefinitions: Windows.Foundation.Collections.IVector; /** * Enables all effects in the EffectDefinitions list with the specified effect definition. * @param definition The effect definition of the effects to enable. */ - enableEffectsByDefinition(definition: Windows.Media.Effects.AudioEffectDefinition): void; + enableEffectsByDefinition(definition: Windows.Media.Effects.IAudioEffectDefinition): void; /** Gets the encoding properties for the audio device output node. */ encodingProperties: Windows.Media.MediaProperties.AudioEncodingProperties; /** Gets or sets the outgoing gain for the audio device output node. */ @@ -31909,16 +31909,16 @@ declare namespace Windows { * Disables all effects in the EffectDefinitions list with the specified effect definition. * @param definition The effect definition of the effects to disable. */ - disableEffectsByDefinition(definition: Windows.Media.Effects.AudioEffectDefinition): void; + disableEffectsByDefinition(definition: Windows.Media.Effects.IAudioEffectDefinition): void; /** Gets the duration for the audio input file. */ duration: number; /** Gets the list of effect definitions for the audio file input node. */ - effectDefinitions: Windows.Foundation.Collections.IVector; + effectDefinitions: Windows.Foundation.Collections.IVector; /** * Enables all effects in the EffectDefinitions list with the specified effect definition. * @param definition The effect definition of the effects to enable. */ - enableEffectsByDefinition(definition: Windows.Media.Effects.AudioEffectDefinition): void; + enableEffectsByDefinition(definition: Windows.Media.Effects.IAudioEffectDefinition): void; /** Gets the encoding properties for the audio file input node. */ encodingProperties: Windows.Media.MediaProperties.AudioEncodingProperties; /** Gets or sets the end time for the audio file input node. */ @@ -31983,18 +31983,18 @@ declare namespace Windows { * Disables all effects in the EffectDefinitions list with the specified effect definition. * @param definition The effect definition of the effects to disable. */ - disableEffectsByDefinition(definition: Windows.Media.Effects.AudioEffectDefinition): void; + disableEffectsByDefinition(definition: Windows.Media.Effects.IAudioEffectDefinition): void; /** Gets the list of effect definitions for the audio file output node. */ - effectDefinitions: Windows.Foundation.Collections.IVector; + effectDefinitions: Windows.Foundation.Collections.IVector; /** * Enables all effects in the EffectDefinitions list with the specified effect definition. * @param definition The effect definition of the effects to enable. */ - enableEffectsByDefinition(definition: Windows.Media.Effects.AudioEffectDefinition): void; + enableEffectsByDefinition(definition: Windows.Media.Effects.IAudioEffectDefinition): void; /** Gets the encoding properties for the audio file output node. */ encodingProperties: Windows.Media.MediaProperties.AudioEncodingProperties; /** Gets the file associated with the audio file output node. */ - file: Windows.Storage.StorageFile; + file: Windows.Storage.IStorageFile; /** Gets the file encoding profile supported by the audio file output node. */ fileEncodingProfile: Windows.Media.MediaProperties.MediaEncodingProfile; /** @@ -32042,16 +32042,16 @@ declare namespace Windows { * Disables all effects in the EffectDefinitions list with the specified effect definition. * @param definition The effect definition of the effects to disable. */ - disableEffectsByDefinition(definition: Windows.Media.Effects.AudioEffectDefinition): void; + disableEffectsByDefinition(definition: Windows.Media.Effects.IAudioEffectDefinition): void; /** Removes queued frames from the audio frame input node. */ discardQueuedFrames(): void; /** Gets the list of effect definitions for the audio frame input node. */ - effectDefinitions: Windows.Foundation.Collections.IVector; + effectDefinitions: Windows.Foundation.Collections.IVector; /** * Enables all effects in the EffectDefinitions list with the specified effect definition. * @param definition The effect definition of the effects to enable. */ - enableEffectsByDefinition(definition: Windows.Media.Effects.AudioEffectDefinition): void; + enableEffectsByDefinition(definition: Windows.Media.Effects.IAudioEffectDefinition): void; /** Gets the encoding properties for the audio frame input node. */ encodingProperties: Windows.Media.MediaProperties.AudioEncodingProperties; /** Notifies of a completed audio frame that has been submitted to the graph with a call to AddFrame . */ @@ -32094,14 +32094,14 @@ declare namespace Windows { * Disables all effects in the EffectDefinitions list with the specified effect definition. * @param definition The effect definition of the effects to disable. */ - disableEffectsByDefinition(definition: Windows.Media.Effects.AudioEffectDefinition): void; + disableEffectsByDefinition(definition: Windows.Media.Effects.IAudioEffectDefinition): void; /** Gets the list of effect definitions for the audio frame output node. */ - effectDefinitions: Windows.Foundation.Collections.IVector; + effectDefinitions: Windows.Foundation.Collections.IVector; /** * Enables all effects in the EffectDefinitions list with the specified effect definition. * @param definition The effect definition of the effects to enable. */ - enableEffectsByDefinition(definition: Windows.Media.Effects.AudioEffectDefinition): void; + enableEffectsByDefinition(definition: Windows.Media.Effects.IAudioEffectDefinition): void; /** Gets the encoding properties for the audio frame output node. */ encodingProperties: Windows.Media.MediaProperties.AudioEncodingProperties; /** @@ -32161,20 +32161,20 @@ declare namespace Windows { * @param file A IStorageFile object representing the file associated with the file input node. * @return When this operation completes, a CreateAudioFileInputNodeResult object is returned. */ - createFileInputNodeAsync(file: Windows.Storage.StorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; + createFileInputNodeAsync(file: Windows.Storage.IStorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Creates a file output node for the indicated file. * @param file A StorageFile object representing the file. * @return When this operation completes, a CreateAudioFileOutputNodeResult object is returned. */ - createFileOutputNodeAsync(file: Windows.Storage.StorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; + createFileOutputNodeAsync(file: Windows.Storage.IStorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Creates a file output node for the indicated file and media encoding profile. * @param file A StorageFile object representing the file. * @param fileEncodingProfile An objecting representing the media encoding profile. * @return When this operation completes, a CreateAudioFileOutputNodeResult object is returned. */ - createFileOutputNodeAsync(file: Windows.Storage.StorageFile, fileEncodingProfile: Windows.Media.MediaProperties.MediaEncodingProfile): Windows.Foundation.IPromiseWithIAsyncOperation; + createFileOutputNodeAsync(file: Windows.Storage.IStorageFile, fileEncodingProfile: Windows.Media.MediaProperties.MediaEncodingProfile): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Creates an audio frame input node from encoding properties. * @param encodingProperties An object representing encoding properties. @@ -32314,14 +32314,14 @@ declare namespace Windows { * Disables all effects in the EffectDefinitions list with the specified effect definition. * @param definition The effect definition of the effects to disable. */ - disableEffectsByDefinition(definition: Windows.Media.Effects.AudioEffectDefinition): void; + disableEffectsByDefinition(definition: Windows.Media.Effects.IAudioEffectDefinition): void; /** Gets the list of effect definitions for the audio submix node. */ - effectDefinitions: Windows.Foundation.Collections.IVector; + effectDefinitions: Windows.Foundation.Collections.IVector; /** * Enables all effects in the EffectDefinitions list with the specified effect definition. * @param definition The effect definition of the effects to enable. */ - enableEffectsByDefinition(definition: Windows.Media.Effects.AudioEffectDefinition): void; + enableEffectsByDefinition(definition: Windows.Media.Effects.IAudioEffectDefinition): void; /** Gets the encoding properties for the audio device submix node. */ encodingProperties: Windows.Media.MediaProperties.AudioEncodingProperties; /** Gets outgoing connections from the audio submix node to other nodes in the audio graph. */ @@ -32389,7 +32389,7 @@ declare namespace Windows { /** Gets or sets the feedback included in the echo effect definition. */ feedback: number; /** Gets or sets the properties supported by the echo effect definition. */ - properties: Windows.Foundation.Collections.PropertySet; + properties: Windows.Foundation.Collections.IPropertySet; /** Gets or sets the wet-dry audio voice mix for the echo effect definition. */ wetDryMix: number; } @@ -32414,7 +32414,7 @@ declare namespace Windows { /** Gets the bands included in the equalizer effect definition. */ bands: Windows.Foundation.Collections.IVectorView; /** Gets the properties supported by the equalizer effect definition. */ - properties: Windows.Foundation.Collections.PropertySet; + properties: Windows.Foundation.Collections.IPropertySet; } /** Provides data for the AudioFrameInputNode::QuantumStarted event. This event is raised when the audio graph containing the audio frame input node is ready to begin processing a new quantum of data. */ abstract class FrameInputNodeQuantumStartedEventArgs { @@ -32433,7 +32433,7 @@ declare namespace Windows { /** Gets or sets the loudness included in the limiter effect definition. */ loudness: number; /** Gets the properties supported by the limiter effect definition. */ - properties: Windows.Foundation.Collections.PropertySet; + properties: Windows.Foundation.Collections.IPropertySet; /** Gets or sets the release included in the limiter effect definition. */ release: number; } @@ -32482,7 +32482,7 @@ declare namespace Windows { /** Gets or sets the position right included in the reverberation effect definition. */ positionRight: number; /** Gets the properties supported by the reverberation effect definition. */ - properties: Windows.Foundation.Collections.PropertySet; + properties: Windows.Foundation.Collections.IPropertySet; /** Gets or sets the rear delay included in the reverberation effect definition. */ rearDelay: number; /** Gets or sets the reflections delay included in the reverberation effect definition. */ @@ -32514,12 +32514,12 @@ declare namespace Windows { * Disables all effects in the EffectDefinitions list with the specified effect definition. * @param definition The effect definition of the effects to disable. */ - disableEffectsByDefinition(definition: Windows.Media.Effects.AudioEffectDefinition): void; + disableEffectsByDefinition(definition: Windows.Media.Effects.IAudioEffectDefinition): void; /** * Enables all effects in the EffectDefinitions list with the specified effect definition. * @param definition The effect definition of the effects to enable. */ - enableEffectsByDefinition(definition: Windows.Media.Effects.AudioEffectDefinition): void; + enableEffectsByDefinition(definition: Windows.Media.Effects.IAudioEffectDefinition): void; /** Resets the audio node. */ reset(): void; /** Starts the audio node. */ @@ -32529,7 +32529,7 @@ declare namespace Windows { /** Gets or sets a value indicating if the audio node consumes input. */ consumeInput: boolean; /** Gets the list of effect definitions for the audio node. */ - effectDefinitions: Windows.Foundation.Collections.IVector; + effectDefinitions: Windows.Foundation.Collections.IVector; /** Gets the encoding properties for the audio node. */ encodingProperties: Windows.Media.MediaProperties.AudioEncodingProperties; /** Gets or sets the outgoing gain for the audio node. */ @@ -32571,7 +32571,7 @@ declare namespace Windows { /** Gets or sets the duration of the audio frame. */ duration: number; /** Gets the extended property set which enables getting and setting properties on the AudioFrame . */ - extendedProperties: Windows.Foundation.Collections.PropertySet; + extendedProperties: Windows.Foundation.Collections.IPropertySet; /** Gets or sets a value that indicates whether an audio frame is the first frame after a gap in the stream. */ isDiscontinuous: boolean; /** Gets a value indicating whether the audio frame is read-only. */ @@ -32867,7 +32867,7 @@ declare namespace Windows { * Creates a copy of the stream. * @return The clone of the strem. */ - cloneStream(): Windows.Storage.Streams.RandomAccessStream; + cloneStream(): Windows.Storage.Streams.IRandomAccessStream; /** Closes the captured framed object. */ close(): void; /** Gets the content type of the captured frame. */ @@ -32900,7 +32900,7 @@ declare namespace Windows { * @param options Specifies the type of the asynchronous read operation. * @return The asynchronous operation. */ - readAsync(buffer: Windows.Storage.Streams.Buffer, count: number, options: Windows.Storage.Streams.InputStreamOptions): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + readAsync(buffer: Windows.Storage.Streams.IBuffer, count: number, options: Windows.Storage.Streams.InputStreamOptions): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; /** * Seeks the stream to the specified position. * @param position The position in the stream to seek too. @@ -32917,7 +32917,7 @@ declare namespace Windows { * @param buffer The data to write to the stream. * @return Represents an asynchronous operation that returns a result and reports progress. */ - writeAsync(buffer: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + writeAsync(buffer: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; } /** Provides information about the capture device settings that were used for a frame in a variable photo sequence. */ abstract class CapturedFrameControlValues { @@ -33117,7 +33117,7 @@ declare namespace Windows { * @param definition The object containing the definition of the effect to be added. * @return An asynchronous operation that returns an IMediaExtension upon successful completion. */ - addAudioEffectAsync(definition: Windows.Media.Effects.AudioEffectDefinition): Windows.Foundation.IPromiseWithIAsyncOperation; + addAudioEffectAsync(definition: Windows.Media.Effects.IAudioEffectDefinition): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Adds an audio or video effect. * @param mediaStreamType Specifies the streams to which the effect will be applied. @@ -33125,14 +33125,14 @@ declare namespace Windows { * @param effectSettings Configuration parameters for the effect. * @return Returns an IAsyncAction object that is used to control the asynchronous operation. */ - addEffectAsync(mediaStreamType: Windows.Media.Capture.MediaStreamType, effectActivationID: string, effectSettings: Windows.Foundation.Collections.PropertySet): Windows.Foundation.IPromiseWithIAsyncAction; + addEffectAsync(mediaStreamType: Windows.Media.Capture.MediaStreamType, effectActivationID: string, effectSettings: Windows.Foundation.Collections.IPropertySet): Windows.Foundation.IPromiseWithIAsyncAction; /** * Adds a video effect to the capture pipeline. * @param definition The object containing the definition of the effect to be added. * @param mediaStreamType Specifies the streams to which the effect will be applied. * @return An asynchronous operation that returns an IMediaExtension upon successful completion. */ - addVideoEffectAsync(definition: Windows.Media.Effects.VideoEffectDefinition, mediaStreamType: Windows.Media.Capture.MediaStreamType): Windows.Foundation.IPromiseWithIAsyncOperation; + addVideoEffectAsync(definition: Windows.Media.Effects.IVideoEffectDefinition, mediaStreamType: Windows.Media.Capture.MediaStreamType): Windows.Foundation.IPromiseWithIAsyncOperation; /** Gets an object that controls settings for the microphone. */ audioDeviceController: Windows.Media.Devices.AudioDeviceController; /** Gets the current stream state of the camera stream. */ @@ -33143,14 +33143,14 @@ declare namespace Windows { * @param file The storage file where the image is saved. * @return Returns an IAsyncAction object that is used to control the asynchronous operation. */ - capturePhotoToStorageFileAsync(type: Windows.Media.MediaProperties.ImageEncodingProperties, file: Windows.Storage.StorageFile): Windows.Foundation.IPromiseWithIAsyncAction; + capturePhotoToStorageFileAsync(type: Windows.Media.MediaProperties.ImageEncodingProperties, file: Windows.Storage.IStorageFile): Windows.Foundation.IPromiseWithIAsyncAction; /** * Captures a photo to a random-access stream. * @param type The encoding properties for the output image. * @param stream The stream where the image data is written. * @return Returns an IAsyncAction object that is used to control the asynchronous operation. */ - capturePhotoToStreamAsync(type: Windows.Media.MediaProperties.ImageEncodingProperties, stream: Windows.Storage.Streams.RandomAccessStream): Windows.Foundation.IPromiseWithIAsyncAction; + capturePhotoToStreamAsync(type: Windows.Media.MediaProperties.ImageEncodingProperties, stream: Windows.Storage.Streams.IRandomAccessStream): Windows.Foundation.IPromiseWithIAsyncAction; /** * Removes all audio and video effects from a stream. * @param mediaStreamType The stream from which to remove the effects. @@ -33267,21 +33267,21 @@ declare namespace Windows { * @param customSinkSettings Contains properties of the media extension. * @return When this method completes, a LowLagMediaRecording object is returned which can be used to start the photo capture. */ - prepareLowLagRecordToCustomSinkAsync(encodingProfile: Windows.Media.MediaProperties.MediaEncodingProfile, customSinkActivationId: string, customSinkSettings: Windows.Foundation.Collections.PropertySet): Windows.Foundation.IPromiseWithIAsyncOperation; + prepareLowLagRecordToCustomSinkAsync(encodingProfile: Windows.Media.MediaProperties.MediaEncodingProfile, customSinkActivationId: string, customSinkSettings: Windows.Foundation.Collections.IPropertySet): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Initializes the low lag recording using the specified file to store the recording. This method provides the LowLagMediaRecording object used to managed the recording. * @param encodingProfile The encoding profile for the recording. * @param file The storage file where the image is saved. * @return When this method completes, a LowLagMediaRecording object is returned which can be used to start the photo capture. */ - prepareLowLagRecordToStorageFileAsync(encodingProfile: Windows.Media.MediaProperties.MediaEncodingProfile, file: Windows.Storage.StorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; + prepareLowLagRecordToStorageFileAsync(encodingProfile: Windows.Media.MediaProperties.MediaEncodingProfile, file: Windows.Storage.IStorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Initializes the low lag recording using the specified random-access stream to store the recording. This method provides the LowLagMediaRecording object used to managed the recording. * @param encodingProfile The encoding profile for the recording. * @param stream The stream where the image data is written. * @return When this method completes, a LowLagMediaRecording object is returned which can be used to start the photo capture. */ - prepareLowLagRecordToStreamAsync(encodingProfile: Windows.Media.MediaProperties.MediaEncodingProfile, stream: Windows.Storage.Streams.RandomAccessStream): Windows.Foundation.IPromiseWithIAsyncOperation; + prepareLowLagRecordToStreamAsync(encodingProfile: Windows.Media.MediaProperties.MediaEncodingProfile, stream: Windows.Storage.Streams.IRandomAccessStream): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Initializes the variable photo sequence capture and provides the VariablePhotoSequenceCapture object used to manage the recording. * @param type The encoding profile used for the image. @@ -33330,7 +33330,7 @@ declare namespace Windows { * @param customSinkSettings Contains properties of the media extension. * @return Anobject that is used to control the asynchronous operation. */ - startRecordToCustomSinkAsync(encodingProfile: Windows.Media.MediaProperties.MediaEncodingProfile, customSinkActivationId: string, customSinkSettings: Windows.Foundation.Collections.PropertySet): Windows.Foundation.IPromiseWithIAsyncAction; + startRecordToCustomSinkAsync(encodingProfile: Windows.Media.MediaProperties.MediaEncodingProfile, customSinkActivationId: string, customSinkSettings: Windows.Foundation.Collections.IPropertySet): Windows.Foundation.IPromiseWithIAsyncAction; /** * Start recording to a custom media sink using the specified encoding profile. * @param encodingProfile The encoding profile to use for the recording. @@ -33344,14 +33344,14 @@ declare namespace Windows { * @param file The storage file where the image is saved. * @return Returns a IAsyncAction object that is used to control the asynchronous operation. */ - startRecordToStorageFileAsync(encodingProfile: Windows.Media.MediaProperties.MediaEncodingProfile, file: Windows.Storage.StorageFile): Windows.Foundation.IPromiseWithIAsyncAction; + startRecordToStorageFileAsync(encodingProfile: Windows.Media.MediaProperties.MediaEncodingProfile, file: Windows.Storage.IStorageFile): Windows.Foundation.IPromiseWithIAsyncAction; /** * Starts recording to a random-access stream. * @param encodingProfile The encoding profile for the recording. * @param stream The stream where the image data is written. * @return Returns a IAsyncAction object that is used to control the asynchronous operation. */ - startRecordToStreamAsync(encodingProfile: Windows.Media.MediaProperties.MediaEncodingProfile, stream: Windows.Storage.Streams.RandomAccessStream): Windows.Foundation.IPromiseWithIAsyncAction; + startRecordToStreamAsync(encodingProfile: Windows.Media.MediaProperties.MediaEncodingProfile, stream: Windows.Storage.Streams.IRandomAccessStream): Windows.Foundation.IPromiseWithIAsyncAction; /** * Stops recording. * @return Returns a IAsyncAction object that is used to control the asynchronous operation. @@ -33385,7 +33385,7 @@ declare namespace Windows { /** Gets or sets a value that specifies the audio processing mode. */ audioProcessing: Windows.Media.AudioProcessing; /** Gets or sets the audio source for the capture operation. */ - audioSource: Windows.Media.Core.MediaSource; + audioSource: Windows.Media.Core.IMediaSource; /** Gets or set the media category. */ mediaCategory: Windows.Media.Capture.MediaCategory; /** Gets or sets the stream that is used for photo capture. */ @@ -33403,7 +33403,7 @@ declare namespace Windows { /** Gets or sets the video profile which provides hints to the driver to allow it to optimize for different capture scenarios. */ videoProfile: Windows.Media.Capture.MediaCaptureVideoProfile; /** Gets or sets the video source for the capture operation. */ - videoSource: Windows.Media.Core.MediaSource; + videoSource: Windows.Media.Core.IMediaSource; } /** Contains read-only configuration settings for the MediaCapture object. */ abstract class MediaCaptureSettings { @@ -33932,7 +33932,7 @@ declare namespace Windows { /** The unique content ID of a piece of content, in the app's content catalog. */ id: string; /** The thumbnail image associated with the content. */ - image: Windows.Storage.Streams.RandomAccessStreamReference; + image: Windows.Storage.Streams.IRandomAccessStreamReference; /** Provides all existing third-party and Windows Store age ratings for a piece of content. */ ratings: Windows.Foundation.Collections.IVector; /** The display title of a piece of content. */ @@ -34006,7 +34006,7 @@ declare namespace Windows { /** Initializes a new instance of the DataCue class. */ constructor(); /** Gets the data associated with the cue. */ - data: Windows.Storage.Streams.Buffer; + data: Windows.Storage.Streams.IBuffer; /** Gets or sets the duration of the cue. */ duration: number; /** Gets the identifier for the timed metadata track. */ @@ -34033,7 +34033,7 @@ declare namespace Windows { * Sets properties on the IMediaExtension . * @param configuration The property set. */ - setProperties(configuration: Windows.Foundation.Collections.PropertySet): void; + setProperties(configuration: Windows.Foundation.Collections.IPropertySet): void; addEventListener(type: string, listener: Windows.Foundation.EventHandler): void; removeEventListener(type: string, listener: Windows.Foundation.EventHandler): void; } @@ -34046,7 +34046,7 @@ declare namespace Windows { /** Gets or sets a value that prioritizes the speed of face detection and the quality of detection results. */ detectionMode: Windows.Media.Core.FaceDetectionMode; /** Gets the set of properties for configuring the FaceDetectionEffectDefinition object. */ - properties: Windows.Foundation.Collections.PropertySet; + properties: Windows.Foundation.Collections.IPropertySet; /** Gets or sets a value indicating whether synchronous face detection is enabled. */ synchronousDetectionEnabled: boolean; } @@ -34059,7 +34059,7 @@ declare namespace Windows { /** Gets or sets the duration of the face detection effect frame. */ duration: number; /** Gets the extended property set which enables getting and setting properties on the media frame. */ - extendedProperties: Windows.Foundation.Collections.PropertySet; + extendedProperties: Windows.Foundation.Collections.IPropertySet; /** Gets or sets a value that indicates whether a video frame is the first frame after a gap in the stream. */ isDiscontinuous: boolean; /** Gets a value indicating whether the frame is read-only. */ @@ -34123,13 +34123,13 @@ declare namespace Windows { * @param stream A stream containing the media content. * @param contentType A string specifying the content type of the media content. */ - setStream(stream: Windows.Storage.Streams.RandomAccessStream, contentType: string): void; + setStream(stream: Windows.Storage.Streams.IRandomAccessStream, contentType: string): void; /** * Sets the media content to be bound to the MediaSource . * @param stream A stream reference containing the media content to be bound. * @param contentType A string specifying the content type of the media content. */ - setStreamReference(stream: Windows.Storage.Streams.RandomAccessStreamReference, contentType: string): void; + setStreamReference(stream: Windows.Storage.Streams.IRandomAccessStreamReference, contentType: string): void; /** * Sets the URI of the media content to be bound to the MediaSource . * @param uri The URI of the media content to be bound. @@ -34156,7 +34156,7 @@ declare namespace Windows { * @param mediaSource The IMediaSource from which the MediaSource is created. * @return The new media source. */ - static createFromIMediaSource(mediaSource: Windows.Media.Core.MediaSource): Windows.Media.Core.MediaSource; + static createFromIMediaSource(mediaSource: Windows.Media.Core.IMediaSource): Windows.Media.Core.MediaSource; /** * Creates an instance of MediaSource from the provided MediaBinder . * @param binder The MediaBinder with which the MediaSource is associated. @@ -34180,21 +34180,21 @@ declare namespace Windows { * @param file The IStorageFile from which the MediaSource is created. * @return The new media source. */ - static createFromStorageFile(file: Windows.Storage.StorageFile): Windows.Media.Core.MediaSource; + static createFromStorageFile(file: Windows.Storage.IStorageFile): Windows.Media.Core.MediaSource; /** * Creates an instance of MediaSource from the provided IRandomAccessStream . * @param stream The stream from which the MediaSource is created. * @param contentType The MIME type of the contents of the stream. * @return The new media source. */ - static createFromStream(stream: Windows.Storage.Streams.RandomAccessStream, contentType: string): Windows.Media.Core.MediaSource; + static createFromStream(stream: Windows.Storage.Streams.IRandomAccessStream, contentType: string): Windows.Media.Core.MediaSource; /** * Creates an instance of MediaSource from the provided IRandomAccessStreamReference . * @param stream The stream reference from which the MediaSource is created. * @param contentType The MIME type of the contents of the stream. * @return The new media source. */ - static createFromStreamReference(stream: Windows.Storage.Streams.RandomAccessStreamReference, contentType: string): Windows.Media.Core.MediaSource; + static createFromStreamReference(stream: Windows.Storage.Streams.IRandomAccessStreamReference, contentType: string): Windows.Media.Core.MediaSource; /** * Creates an instance of MediaSource from the provided Uri . * @param uri The URI from which the MediaSource is created. @@ -34265,7 +34265,7 @@ declare namespace Windows { * @param timestamp The presentation time of this sample. * @return The sample created from the data in buffer. */ - static createFromBuffer(buffer: Windows.Storage.Streams.Buffer, timestamp: number): Windows.Media.Core.MediaStreamSample; + static createFromBuffer(buffer: Windows.Storage.Streams.IBuffer, timestamp: number): Windows.Media.Core.MediaStreamSample; /** * Asynchronously creates a MediaStreamSample from an IInputStream . * @param stream The stream that contains the media data used to create the MediaStreamSample . @@ -34438,7 +34438,7 @@ declare namespace Windows { */ setBufferedRange(startOffset: number, endOffset: number): void; /** Gets or sets the thumbnail which is a reference to a stream for a video thumbnail image or music album art. */ - thumbnail: Windows.Storage.Streams.RandomAccessStreamReference; + thumbnail: Windows.Storage.Streams.IRandomAccessStreamReference; /** Gets the video properties which are used for video related metadata. */ videoProperties: Windows.Storage.FileProperties.VideoProperties; addEventListener(type: string, listener: Windows.Foundation.EventHandler): void; @@ -34587,7 +34587,7 @@ declare namespace Windows { * Sets properties on the IMediaExtension . * @param configuration The property set. */ - setProperties(configuration: Windows.Foundation.Collections.PropertySet): void; + setProperties(configuration: Windows.Foundation.Collections.IPropertySet): void; addEventListener(type: string, listener: Windows.Foundation.EventHandler): void; removeEventListener(type: string, listener: Windows.Foundation.EventHandler): void; } @@ -34598,7 +34598,7 @@ declare namespace Windows { /** Gets a string containing the activatable class ID of the scene analysis effect definition. */ activatableClassId: string; /** Gets the set of properties for configuring the SceneAnalysisEffectDefinition object. */ - properties: Windows.Foundation.Collections.PropertySet; + properties: Windows.Foundation.Collections.IPropertySet; } /** Represents a video frame that includes the results of the scene analysis operation. */ abstract class SceneAnalysisEffectFrame { @@ -34607,7 +34607,7 @@ declare namespace Windows { /** Gets or sets the duration of the scene analysis effect frame. */ duration: number; /** Gets the extended property set which enables getting and setting properties on the media frame. */ - extendedProperties: Windows.Foundation.Collections.PropertySet; + extendedProperties: Windows.Foundation.Collections.IPropertySet; /** Gets a CapturedFrameControlValues object that indicates the capture settings used for the frame. */ frameControlValues: Windows.Media.Capture.CapturedFrameControlValues; /** Gets a HighDynamicRangeOutput object that provides recommended FrameController objects and a value indicating the certainty of the HDR analysis. */ @@ -34810,14 +34810,14 @@ declare namespace Windows { * @param stream The stream from which the timed text source is created. * @return The new timed text source. */ - static createFromStream(stream: Windows.Storage.Streams.RandomAccessStream): Windows.Media.Core.TimedTextSource; + static createFromStream(stream: Windows.Storage.Streams.IRandomAccessStream): Windows.Media.Core.TimedTextSource; /** * Creates a new instance of TimedTextSource with the specified default language from the provided stream. * @param stream The stream from which the timed text source is created. * @param defaultLanguage A string specifying the default language for the timed text source. * @return The new timed text source. */ - static createFromStream(stream: Windows.Storage.Streams.RandomAccessStream, defaultLanguage: string): Windows.Media.Core.TimedTextSource; + static createFromStream(stream: Windows.Storage.Streams.IRandomAccessStream, defaultLanguage: string): Windows.Media.Core.TimedTextSource; /** * Creates a new instance of TimedTextSource from the provided URI. * @param uri The URI from which the timed text source is created. @@ -34942,7 +34942,7 @@ declare namespace Windows { * Sets properties on the IMediaExtension . * @param configuration The property set. */ - setProperties(configuration: Windows.Foundation.Collections.PropertySet): void; + setProperties(configuration: Windows.Foundation.Collections.IPropertySet): void; addEventListener(type: string, listener: Windows.Foundation.EventHandler): void; removeEventListener(type: string, listener: Windows.Foundation.EventHandler): void; } @@ -34953,7 +34953,7 @@ declare namespace Windows { /** Gets a string containing the activatable class ID of the video stabilization effect definition. */ activatableClassId: string; /** Gets the set of properties for configuring the VideoStabilizationEffectDefinition object. */ - properties: Windows.Foundation.Collections.PropertySet; + properties: Windows.Foundation.Collections.IPropertySet; } /** Provides data for the VideoStabilizationEffect::EnabledChanged event. */ abstract class VideoStabilizationEffectEnabledChangedEventArgs { @@ -36370,7 +36370,7 @@ declare namespace Windows { /** Gets the remote device's ID. You can use this ID with the Windows.Devices.Enumeration APIs as well. */ id: string; /** Gets a stream containing the thumbnail image for the DIAL device. */ - thumbnail: Windows.Storage.Streams.RandomAccessStreamReference; + thumbnail: Windows.Storage.Streams.IRandomAccessStreamReference; } /** The possible statuses a DIAL device can have in the DIAL device picker. You can use these to adjust the sub-status and other visual attributes for a particular device in the picker. */ enum DialDeviceDisplayStatus { @@ -36473,9 +36473,9 @@ declare namespace Windows { * @param file A StorageFile object representing the source audio file. * @return A new background audio track object containing the contents of the audio file. */ - static createFromFileAsync(file: Windows.Storage.StorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; + static createFromFileAsync(file: Windows.Storage.IStorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; /** Gets the list of audio effect definitions for processing the background audio track. */ - audioEffectDefinitions: Windows.Foundation.Collections.IVector; + audioEffectDefinitions: Windows.Foundation.Collections.IVector; /** * Creates a BackgroundAudioTrack object that is identical to this instance. * @return A BackgroundAudioTrack object that is a copy of this instance. @@ -36523,14 +36523,14 @@ declare namespace Windows { * @param file A StorageFile object representing the source video file. * @return A new media clip object containing a video clip of the video file. */ - static createFromFileAsync(file: Windows.Storage.StorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; + static createFromFileAsync(file: Windows.Storage.IStorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Creates a video clip that displays a single image for a specified length of time. * @param file A StorageFile object representing the source image file. * @param originalDuration How long to display the image in the video clip. * @return A new media clip object containing the image-based video clip. */ - static createFromImageFileAsync(file: Windows.Storage.StorageFile, originalDuration: number): Windows.Foundation.IPromiseWithIAsyncOperation; + static createFromImageFileAsync(file: Windows.Storage.IStorageFile, originalDuration: number): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Creates a video clip from a Direct3D surface. * @param surface The Direct3D surface. @@ -36539,7 +36539,7 @@ declare namespace Windows { */ static createFromSurface(surface: Windows.Graphics.DirectX.Direct3D11.IDirect3DSurface, originalDuration: number): Windows.Media.Editing.MediaClip; /** Gets the list of audio effect definitions for processing the media clip. */ - audioEffectDefinitions: Windows.Foundation.Collections.IVector; + audioEffectDefinitions: Windows.Foundation.Collections.IVector; /** * Creates a MediaClip object that is identical to this instance. * @return A MediaClip object that is a copy of this instance. @@ -36569,7 +36569,7 @@ declare namespace Windows { /** An associative collection for storing custom properties associated with the media clip. */ userData: Windows.Foundation.Collections.IMap; /** Gets the list of video effect definitions for processing the media clip. */ - videoEffectDefinitions: Windows.Foundation.Collections.IVector; + videoEffectDefinitions: Windows.Foundation.Collections.IVector; /** Gets or sets the volume of the media clip. */ volume: number; } @@ -36642,14 +36642,14 @@ declare namespace Windows { * @param destination The file to which this MediaComposition is rendered. * @return An async operation which can be used to track the success or failure of the operation. */ - renderToFileAsync(destination: Windows.Storage.StorageFile): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + renderToFileAsync(destination: Windows.Storage.IStorageFile): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; /** * Asynchronously renders the MediaComposition to a specified file using the indicated media trimming preference. * @param destination The file to which this MediaComposition is rendered. * @param trimmingPreference Specifies whether to be fast or precise when trimming the media. * @return An async operation which can be used to track the success or failure of the operation. */ - renderToFileAsync(destination: Windows.Storage.StorageFile, trimmingPreference: Windows.Media.Editing.MediaTrimmingPreference): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + renderToFileAsync(destination: Windows.Storage.IStorageFile, trimmingPreference: Windows.Media.Editing.MediaTrimmingPreference): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; /** * Asynchronously renders the MediaComposition to a specified file using the indicated media trimming preference and encoding profile. * @param destination The file to which this MediaComposition is rendered. @@ -36657,13 +36657,13 @@ declare namespace Windows { * @param encodingProfile Specifies the encoding profile to use for rendering the media. * @return An async operation which can be used to track the success or failure of the operation. */ - renderToFileAsync(destination: Windows.Storage.StorageFile, trimmingPreference: Windows.Media.Editing.MediaTrimmingPreference, encodingProfile: Windows.Media.MediaProperties.MediaEncodingProfile): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + renderToFileAsync(destination: Windows.Storage.IStorageFile, trimmingPreference: Windows.Media.Editing.MediaTrimmingPreference, encodingProfile: Windows.Media.MediaProperties.MediaEncodingProfile): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; /** * Asynchronously serializes the MediaComposition to disk so that it can be loaded and modified in the future. * @param file The file to which the MediaComposition is saved. * @return An async action which can be used to track the success or failure of the operation. */ - saveAsync(file: Windows.Storage.StorageFile): Windows.Foundation.IPromiseWithIAsyncAction; + saveAsync(file: Windows.Storage.IStorageFile): Windows.Foundation.IPromiseWithIAsyncAction; /** An associative collection for storing custom properties associated with the media composition. */ userData: Windows.Foundation.Collections.IMap; } @@ -36705,14 +36705,14 @@ declare namespace Windows { * Initializes a new instance of the MediaOverlayLayer class. * @param compositorDefinition The definition of the custom compositor associated with the media overlay layer. */ - constructor(compositorDefinition: Windows.Media.Effects.VideoCompositorDefinition); + constructor(compositorDefinition: Windows.Media.Effects.IVideoCompositorDefinition); /** * Creates a MediaOverlayLayer object that is identical to this instance. * @return A MediaOverlayLayer object that is a copy of this instance. */ clone(): Windows.Media.Editing.MediaOverlayLayer; /** Gets the definition of the custom compositor associated with the media overlay layer, if there is one. */ - customCompositorDefinition: Windows.Media.Effects.VideoCompositorDefinition; + customCompositorDefinition: Windows.Media.Effects.IVideoCompositorDefinition; /** Gets the list of overlays for this media overlay layer. */ overlays: Windows.Foundation.Collections.IVector; } @@ -36759,7 +36759,7 @@ declare namespace Windows { * @param activatableClassId The activatable class ID of the audio effect definition. * @param props Configuration properties for the specified audio effect definition. */ - constructor(activatableClassId: string, props: Windows.Foundation.Collections.PropertySet); + constructor(activatableClassId: string, props: Windows.Foundation.Collections.IPropertySet); /** * Creates a new AudioEffectDefinition object with the specified activatable class ID. * @param activatableClassId The activatable class ID of the audio effect definition. @@ -36768,7 +36768,7 @@ declare namespace Windows { /** The activatable class ID of the audio effect definition. */ activatableClassId: string; /** The set of properties for configuring an AudioEffectDefinition object. */ - properties: Windows.Foundation.Collections.PropertySet; + properties: Windows.Foundation.Collections.IPropertySet; } /** Defines values for audio effect types. */ enum AudioEffectType { @@ -36918,7 +36918,7 @@ declare namespace Windows { * @param activatableClassId The activatable class ID of the video compositor. * @param props The set of properties for configuring the video compositor object. */ - constructor(activatableClassId: string, props: Windows.Foundation.Collections.PropertySet); + constructor(activatableClassId: string, props: Windows.Foundation.Collections.IPropertySet); /** * Initializes a new instance of the VideoCompositorDefinition class. * @param activatableClassId The activatable class ID of the video compositor. @@ -36927,7 +36927,7 @@ declare namespace Windows { /** Gets the activatable class ID of the video compositor. */ activatableClassId: string; /** Gets the set of properties for configuring the video compositor object. */ - properties: Windows.Foundation.Collections.PropertySet; + properties: Windows.Foundation.Collections.IPropertySet; } /** Represents a video effect definition. */ class VideoEffectDefinition { @@ -36936,7 +36936,7 @@ declare namespace Windows { * @param activatableClassId The activatable class ID of the video effect definition. * @param props Configuration properties for the specified video effect definition. */ - constructor(activatableClassId: string, props: Windows.Foundation.Collections.PropertySet); + constructor(activatableClassId: string, props: Windows.Foundation.Collections.IPropertySet); /** * Creates a new VideoEffectDefinition object with the specified activatable class ID. * @param activatableClassId The activatable class ID of the video effect definition. @@ -36945,7 +36945,7 @@ declare namespace Windows { /** Gets the activatable class ID of the video effect definition. */ activatableClassId: string; /** Gets the set of properties for configuring the VideoEffectDefinition object. */ - properties: Windows.Foundation.Collections.PropertySet; + properties: Windows.Foundation.Collections.IPropertySet; } /** Represents the definition of a video transform effect. */ class VideoTransformEffectDefinition { @@ -36964,7 +36964,7 @@ declare namespace Windows { /** Gets or sets the media processing algorithm that is used for the video transform. */ processingAlgorithm: Windows.Media.Transcoding.MediaVideoProcessingAlgorithm; /** Gets the set of properties for configuring the VideoTransformEffectDefinition object. */ - properties: Windows.Foundation.Collections.PropertySet; + properties: Windows.Foundation.Collections.IPropertySet; /** Gets or sets the angle and direction in which the video will be rotated. */ rotation: Windows.Media.MediaProperties.MediaRotation; } @@ -36973,21 +36973,21 @@ declare namespace Windows { /** The activatable class ID of the audio effect definition. */ activatableClassId: string; /** The set of properties for configuring an AudioEffectDefinition object. */ - properties: Windows.Foundation.Collections.PropertySet; + properties: Windows.Foundation.Collections.IPropertySet; } /** Exposes the methods and properties of a VideoEffectDefinition object. Implement this interface when you create a custom video effect definition. */ interface IVideoEffectDefinition { /** The activatable class ID of the video effect definition. */ activatableClassId: string; /** The set of properties for configuring the VideoEffectDefinition object. */ - properties: Windows.Foundation.Collections.PropertySet; + properties: Windows.Foundation.Collections.IPropertySet; } /** The interface defining a custom video compositor definition. */ interface IVideoCompositorDefinition { /** Gets the activatable class ID of the video compositor. */ activatableClassId: string; /** Gets the set of properties for configuring the video compositor object. */ - properties: Windows.Foundation.Collections.PropertySet; + properties: Windows.Foundation.Collections.IPropertySet; } } /** Provides APIs for face detection in bitmaps or video frames. */ @@ -37291,7 +37291,7 @@ declare namespace Windows { /** Gets the size of the item, in bytes. */ sizeInBytes: number; /** Gets a random access stream containing the thumbnail image associated with the item. */ - thumbnail: Windows.Storage.Streams.RandomAccessStreamReference; + thumbnail: Windows.Storage.Streams.IRandomAccessStreamReference; /** Gets the list of video segments associated with the item. */ videoSegments: Windows.Foundation.Collections.IVectorView; } @@ -37363,7 +37363,7 @@ declare namespace Windows { /** Gets or sets the prefix for the destination file name. */ destinationFileNamePrefix: string; /** Gets or sets the destination folder for the photo import session. */ - destinationFolder: Windows.Storage.StorageFolder; + destinationFolder: Windows.Storage.IStorageFolder; /** * Asynchronously finds items on the source device that are available for import. * @param contentTypeFilter A value indicating whether the find operation includes images, videos, or both in the results. @@ -37394,7 +37394,7 @@ declare namespace Windows { * @param sourceRootFolder The root folder from which the photo import source is created. * @return An asynchronous operation that returns a PhotoImportSource upon successful completion. */ - static fromFolderAsync(sourceRootFolder: Windows.Storage.StorageFolder): Windows.Foundation.IPromiseWithIAsyncOperation; + static fromFolderAsync(sourceRootFolder: Windows.Storage.IStorageFolder): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Creates a new instance of PhotoImportSource from the specified device ID. * @param sourceId The root folder from which the photo import source is created. @@ -37435,7 +37435,7 @@ declare namespace Windows { /** Gets a list of objects representing the different storage media exposed by the source device. */ storageMedia: Windows.Foundation.Collections.IVectorView; /** Gets a reference to a stream containing the thumbnail image for the source device. */ - thumbnail: Windows.Storage.Streams.RandomAccessStreamReference; + thumbnail: Windows.Storage.Streams.IRandomAccessStreamReference; /** Gets a value indicating the type of the source device. */ type: Windows.Media.Import.PhotoImportSourceType; } @@ -37614,7 +37614,7 @@ declare namespace Windows { * @param outputSubtype The guid identifier of the media type that is output by the audio decoder. * @param configuration An optional parameter that contains the configuration properties to be passed to the audio decoder. */ - registerAudioDecoder(activatableClassId: string, inputSubtype: string, outputSubtype: string, configuration: Windows.Foundation.Collections.PropertySet): void; + registerAudioDecoder(activatableClassId: string, inputSubtype: string, outputSubtype: string, configuration: Windows.Foundation.Collections.IPropertySet): void; /** * Registers an audio encoder for the specified input and output media types with an optional configuration parameter. * @param activatableClassId The class identifier of the activatable runtime class of the audio encoder. The runtime class must implement the IMediaExtension interface. @@ -37622,7 +37622,7 @@ declare namespace Windows { * @param outputSubtype The guid identifier of the media type that is output by the audio encoder. * @param configuration An optional parameter that contains the configuration properties to be passed to the audio encoder. */ - registerAudioEncoder(activatableClassId: string, inputSubtype: string, outputSubtype: string, configuration: Windows.Foundation.Collections.PropertySet): void; + registerAudioEncoder(activatableClassId: string, inputSubtype: string, outputSubtype: string, configuration: Windows.Foundation.Collections.IPropertySet): void; /** * Registers an audio encoder for the specified input and output media types. * @param activatableClassId The class identifier of the activatable runtime class of the audio encoder. The runtime class must implement the IMediaExtension interface. @@ -37644,14 +37644,14 @@ declare namespace Windows { * @param mimeType The MIME type that is registered for this byte-stream handler. * @param configuration An optional parameter that contains configuration properties for the byte-stream handler. */ - registerByteStreamHandler(activatableClassId: string, fileExtension: string, mimeType: string, configuration: Windows.Foundation.Collections.PropertySet): void; + registerByteStreamHandler(activatableClassId: string, fileExtension: string, mimeType: string, configuration: Windows.Foundation.Collections.IPropertySet): void; /** * Registers a scheme handler for the specified URL scheme with an optional configuration parameter. * @param activatableClassId The class identifier of the activatable runtime class of the scheme handler. The runtime class must implement the IMediaExtension interface. * @param scheme The URL scheme that will be recognized to invoke the scheme handler. For example, "myscheme://". * @param configuration An optional parameter that contains configuration properties for the scheme handler. */ - registerSchemeHandler(activatableClassId: string, scheme: string, configuration: Windows.Foundation.Collections.PropertySet): void; + registerSchemeHandler(activatableClassId: string, scheme: string, configuration: Windows.Foundation.Collections.IPropertySet): void; /** * Registers a scheme handler for the specified URL scheme. * @param activatableClassId The class identifier of the activatable runtime class of the scheme handler. The runtime class must implement the IMediaExtension interface. @@ -37672,7 +37672,7 @@ declare namespace Windows { * @param outputSubtype The guid identifier of the media type that is output by the video decoder. * @param configuration An optional parameter that contains the configuration properties to be passed to the video decoder. */ - registerVideoDecoder(activatableClassId: string, inputSubtype: string, outputSubtype: string, configuration: Windows.Foundation.Collections.PropertySet): void; + registerVideoDecoder(activatableClassId: string, inputSubtype: string, outputSubtype: string, configuration: Windows.Foundation.Collections.IPropertySet): void; /** * Registers a video encoder for the specified input and output media types. * @param activatableClassId The class identifier of the activatable runtime class of the video encoder. The runtime class must implement the IMediaExtension interface. @@ -37687,7 +37687,7 @@ declare namespace Windows { * @param outputSubtype The guid identifier of the media type that is output by the video encoder. * @param configuration An optional parameter that contains the configuration properties to be passed to the video encoder. */ - registerVideoEncoder(activatableClassId: string, inputSubtype: string, outputSubtype: string, configuration: Windows.Foundation.Collections.PropertySet): void; + registerVideoEncoder(activatableClassId: string, inputSubtype: string, outputSubtype: string, configuration: Windows.Foundation.Collections.IPropertySet): void; } /** Provides a static list of media marker types. */ abstract class MediaMarkerTypes { @@ -37902,13 +37902,13 @@ declare namespace Windows { * @param file The media file from which to create the profile. * @return An object that is used to control the asynchronous operation. */ - static createFromFileAsync(file: Windows.Storage.StorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; + static createFromFileAsync(file: Windows.Storage.IStorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Creates an encoding profile from a stream that contains media data. * @param stream The media stream from which to create the profile. * @return An object that is used to control the asynchronous operation. */ - static createFromStreamAsync(stream: Windows.Storage.Streams.RandomAccessStream): Windows.Foundation.IPromiseWithIAsyncOperation; + static createFromStreamAsync(stream: Windows.Storage.Streams.IRandomAccessStream): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Creates an encoding profile for AAC audio. * @param quality Specifies whether to create a profile with a low bit rate, medium bit rate, or high bit rate. @@ -38469,7 +38469,7 @@ declare namespace Windows { addEventListener(type: "volumechangerequested", listener: Windows.Foundation.TypedEventHandler): void; removeEventListener(type: "volumechangerequested", listener: Windows.Foundation.TypedEventHandler): void; /** Gets a set of custom properties for the Play To receiver. */ - properties: Windows.Foundation.Collections.PropertySet; + properties: Windows.Foundation.Collections.IPropertySet; /** * Start receiving Play To commands. * @return An asynchronous handler that's called when the start operation is complete. @@ -38567,7 +38567,7 @@ declare namespace Windows { /** Gets the media stream for the Play To receiver. */ stream: Windows.Storage.Streams.IRandomAccessStreamWithContentType; /** Gets the thumbnail image for the content in the media stream. */ - thumbnail: Windows.Storage.Streams.RandomAccessStreamReference; + thumbnail: Windows.Storage.Streams.IRandomAccessStreamReference; /** Gets the title of the content in the media stream. */ title: string; } @@ -38871,7 +38871,7 @@ declare namespace Windows { * @param effectOptional A value indicating whether the effect is optional. * @param configuration A property set containing configuration settings for the specified audio effect. */ - addAudioEffect(activatableClassId: string, effectOptional: boolean, configuration: Windows.Foundation.Collections.PropertySet): void; + addAudioEffect(activatableClassId: string, effectOptional: boolean, configuration: Windows.Foundation.Collections.IPropertySet): void; /** Gets or sets the type of audio that is currently being played. */ audioCategory: Windows.Media.Playback.MediaPlayerAudioCategory; /** Gets or sets a value that describes the primary usage of the device that is being used to play back audio. */ @@ -38952,17 +38952,17 @@ declare namespace Windows { * Set the media source to a file. * @param file The media source file. */ - setFileSource(file: Windows.Storage.StorageFile): void; + setFileSource(file: Windows.Storage.IStorageFile): void; /** * Sets the media source for playback. * @param source The media source for playback. */ - setMediaSource(source: Windows.Media.Core.MediaSource): void; + setMediaSource(source: Windows.Media.Core.IMediaSource): void; /** * Sets the media source to a stream. * @param stream The media source stream. */ - setStreamSource(stream: Windows.Storage.Streams.RandomAccessStream): void; + setStreamSource(stream: Windows.Storage.Streams.IRandomAccessStream): void; /** * Sets the path to the media. * @param value The path to the media. @@ -39145,7 +39145,7 @@ declare namespace Windows { * @param file Represents the files to load. * @return Represents the asynchronous operation for loading the playlist. The GetResults method of this IAsyncOperation object returns the playlist. */ - static loadAsync(file: Windows.Storage.StorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; + static loadAsync(file: Windows.Storage.IStorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; /** Creates a new instance of a Playlist object. */ constructor(); /** The set of media files that make up the playlist. */ @@ -39158,7 +39158,7 @@ declare namespace Windows { * @param playlistFormat The playlist format. One of the values of the PlaylistFormat enumeration. * @return Represents the asynchronous operation to save the playlist to a specified file and folder. */ - saveAsAsync(saveLocation: Windows.Storage.StorageFolder, desiredName: string, option: Windows.Storage.NameCollisionOption, playlistFormat: Windows.Media.Playlists.PlaylistFormat): Windows.Foundation.IPromiseWithIAsyncOperation; + saveAsAsync(saveLocation: Windows.Storage.IStorageFolder, desiredName: string, option: Windows.Storage.NameCollisionOption, playlistFormat: Windows.Media.Playlists.PlaylistFormat): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Asynchronously saves the playlist to a specified file and folder. * @param saveLocation The folder in which to save the playlist. @@ -39166,7 +39166,7 @@ declare namespace Windows { * @param option The action to take if the playlist is saved to an existing file. One of the values of the NameCollisionOption enumeration. * @return Represents the asynchronous operation to save the playlist to a specified file and folder. */ - saveAsAsync(saveLocation: Windows.Storage.StorageFolder, desiredName: string, option: Windows.Storage.NameCollisionOption): Windows.Foundation.IPromiseWithIAsyncOperation; + saveAsAsync(saveLocation: Windows.Storage.IStorageFolder, desiredName: string, option: Windows.Storage.NameCollisionOption): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Asynchronously saves the playlist. * @return Represents the asynchronous action to save the playlist. @@ -39218,7 +39218,7 @@ declare namespace Windows { addEventListener(type: "servicerequested", listener: Windows.Media.Protection.ServiceRequestedEventHandler): void; removeEventListener(type: "servicerequested", listener: Windows.Media.Protection.ServiceRequestedEventHandler): void; /** Gets a PropertySet object containing any properties attached to the protection manager. */ - properties: Windows.Foundation.Collections.PropertySet; + properties: Windows.Foundation.Collections.IPropertySet; addEventListener(type: string, listener: Windows.Foundation.EventHandler): void; removeEventListener(type: string, listener: Windows.Foundation.EventHandler): void; } @@ -39228,9 +39228,9 @@ declare namespace Windows { * Initializes a new instance of the MediaProtectionPMPServer class with the specified properties. * @param pProperties The set of properties used to initialize the server. */ - constructor(pProperties: Windows.Foundation.Collections.PropertySet); + constructor(pProperties: Windows.Foundation.Collections.IPropertySet); /** Gets the property set for the MediaProtectionPMPServer . */ - properties: Windows.Foundation.Collections.PropertySet; + properties: Windows.Foundation.Collections.IPropertySet; } /** Contains a method that indicates whether a protection service has completed successfully. */ abstract class MediaProtectionServiceCompletion { @@ -39331,7 +39331,7 @@ declare namespace Windows { * @param licenseFetchDescriptor Descriptor for the license being fetched. * @return The result of the asynchronous license fetch call. */ - licenseFetchAsync(licenseFetchDescriptor: Windows.Media.Protection.PlayReady.NDLicenseFetchDescriptor): Windows.Foundation.IPromiseWithIAsyncOperation; + licenseFetchAsync(licenseFetchDescriptor: Windows.Media.Protection.PlayReady.INDLicenseFetchDescriptor): Windows.Foundation.IPromiseWithIAsyncOperation; /** Notifies listeners that a closed caption acquisition operation has completed. */ onclosedcaptiondatareceived: Windows.Foundation.TypedEventHandler; addEventListener(type: "closedcaptiondatareceived", listener: Windows.Foundation.TypedEventHandler): void; @@ -39357,7 +39357,7 @@ declare namespace Windows { * @param registrationCustomData Custom data for the registration request. * @return The result of the asynchronous reregistration call. */ - reRegistrationAsync(registrationCustomData: Windows.Media.Protection.PlayReady.NDCustomData): Windows.Foundation.IPromiseWithIAsyncAction; + reRegistrationAsync(registrationCustomData: Windows.Media.Protection.PlayReady.INDCustomData): Windows.Foundation.IPromiseWithIAsyncAction; /** * Starts the registration, proximity detection, and license fetch procedures between a client receiver and a transmitter. * @param contentUrl The URL of the streamed content. @@ -39366,7 +39366,7 @@ declare namespace Windows { * @param licenseFetchDescriptor The descriptor used for license fetching. * @return The result of the asynchronous start call. */ - startAsync(contentUrl: Windows.Foundation.Uri, startAsyncOptions: number, registrationCustomData: Windows.Media.Protection.PlayReady.NDCustomData, licenseFetchDescriptor: Windows.Media.Protection.PlayReady.NDLicenseFetchDescriptor): Windows.Foundation.IPromiseWithIAsyncOperation; + startAsync(contentUrl: Windows.Foundation.Uri, startAsyncOptions: number, registrationCustomData: Windows.Media.Protection.PlayReady.INDCustomData, licenseFetchDescriptor: Windows.Media.Protection.PlayReady.INDLicenseFetchDescriptor): Windows.Foundation.IPromiseWithIAsyncOperation; addEventListener(type: string, listener: Windows.Foundation.EventHandler): void; removeEventListener(type: string, listener: Windows.Foundation.EventHandler): void; } @@ -39409,7 +39409,7 @@ declare namespace Windows { * Called by the download engine when a content identifier is received. * @param licenseFetchDescriptor The license from which the download engine receives the content identifier. */ - onContentIDReceived(licenseFetchDescriptor: Windows.Media.Protection.PlayReady.NDLicenseFetchDescriptor): void; + onContentIDReceived(licenseFetchDescriptor: Windows.Media.Protection.PlayReady.INDLicenseFetchDescriptor): void; /** * Called by the download engine when it receives data. * @param dataBytes The byte array that holds the data. @@ -39436,13 +39436,13 @@ declare namespace Windows { * @param contentIDBytes The content identifier. * @param licenseFetchChallengeCustomData The license fetch challenge custom data. */ - constructor(contentIDType: Windows.Media.Protection.PlayReady.NDContentIDType, contentIDBytes: number[], licenseFetchChallengeCustomData: Windows.Media.Protection.PlayReady.NDCustomData); + constructor(contentIDType: Windows.Media.Protection.PlayReady.NDContentIDType, contentIDBytes: number[], licenseFetchChallengeCustomData: Windows.Media.Protection.PlayReady.INDCustomData); /** Gets the content identifer. */ contentID: number; /** Gets the type of the content identifier. */ contentIDType: Windows.Media.Protection.PlayReady.NDContentIDType; /** Gets or sets custom data for a license fetch challenge. */ - licenseFetchChallengeCustomData: Windows.Media.Protection.PlayReady.NDCustomData; + licenseFetchChallengeCustomData: Windows.Media.Protection.PlayReady.INDCustomData; } /** Indicates the type of a protected media stream. */ enum NDMediaStreamType { @@ -39476,7 +39476,7 @@ declare namespace Windows { * @param file A storage file object that a media server has discovered. * @return The transmitter settings found in the storage file. */ - getFileURLs(file: Windows.Storage.StorageFile): Windows.Foundation.Collections.IVector; + getFileURLs(file: Windows.Storage.IStorageFile): Windows.Foundation.Collections.IVector; } /** Contains methods that a stream parser plug-in uses to send notifications to a PlayReady-ND client. */ class NDStreamParserNotifier { @@ -39493,7 +39493,7 @@ declare namespace Windows { * Called by a stream parser when it receives the content identifier. * @param licenseFetchDescriptor The license fetch descriptor containing the content identifier. */ - onContentIDReceived(licenseFetchDescriptor: Windows.Media.Protection.PlayReady.NDLicenseFetchDescriptor): void; + onContentIDReceived(licenseFetchDescriptor: Windows.Media.Protection.PlayReady.INDLicenseFetchDescriptor): void; /** * Called by the stream parser when the media stream descriptor is created. * @param audioStreamDescriptors An array of audio stream descriptors that are part of the media stream descriptor. @@ -39659,17 +39659,17 @@ declare namespace Windows { * Returns an iterator that iterates over the items in the PlayReady domain collection. * @return The PlayReady domain iterator. */ - first(): Windows.Foundation.Collections.IIterator; + first(): Windows.Foundation.Collections.IIterator; } /** Provides for iteration of the PlayReadyDomain class. */ abstract class PlayReadyDomainIterator { /** Gets the current item in the PlayReady domain collection. */ - current: Windows.Media.Protection.PlayReady.PlayReadyDomain; + current: Windows.Media.Protection.PlayReady.IPlayReadyDomain; /** * Retrieves all items in the PlayReady domain collection. * @return */ - getMany(): { /** The items in the collection. */ items: Windows.Media.Protection.PlayReady.PlayReadyDomain; /** The number of items in the collection. */ returnValue: number; }; + getMany(): { /** The items in the collection. */ items: Windows.Media.Protection.PlayReady.IPlayReadyDomain; /** The number of items in the collection. */ returnValue: number; }; /** Gets a value that indicates whether there is a current item or the iterator is at the end of the PlayReady domain collection. */ hasCurrent: boolean; /** @@ -39797,7 +39797,7 @@ declare namespace Windows { * @param format The format for the ITA serialized data. * @return The serialized blob. See Remarks. */ - generateData(guidCPSystemId: string, countOfStreams: number, configuration: Windows.Foundation.Collections.PropertySet, format: Windows.Media.Protection.PlayReady.PlayReadyITADataFormat): number[]; + generateData(guidCPSystemId: string, countOfStreams: number, configuration: Windows.Foundation.Collections.IPropertySet, format: Windows.Media.Protection.PlayReady.PlayReadyITADataFormat): number[]; } /** Provides the service methods for requesting platform individualization. */ class PlayReadyIndividualizationServiceRequest { @@ -39910,17 +39910,17 @@ declare namespace Windows { * Returns an iterator that iterates over the items in the PlayReady license collection. * @return The PlayReady license iterator. */ - first(): Windows.Foundation.Collections.IIterator; + first(): Windows.Foundation.Collections.IIterator; } /** Provides for iteration of the PlayReadyLicense class. */ abstract class PlayReadyLicenseIterator { /** Gets the current item in the PlayReady license collection. */ - current: Windows.Media.Protection.PlayReady.PlayReadyLicense; + current: Windows.Media.Protection.PlayReady.IPlayReadyLicense; /** * Retrieves all items in the PlayReady license collection. * @return */ - getMany(): { /** The items in the collection. */ items: Windows.Media.Protection.PlayReady.PlayReadyLicense; /** The number of items in the collection. */ returnValue: number; }; + getMany(): { /** The items in the collection. */ items: Windows.Media.Protection.PlayReady.IPlayReadyLicense; /** The number of items in the collection. */ returnValue: number; }; /** Gets a value that indicates whether there is a current item or the iterator is at the end of the PlayReady license collection. */ hasCurrent: boolean; /** @@ -39944,7 +39944,7 @@ declare namespace Windows { * Initializes a new instance of the PlayReadyLicenseSession class. * @param configuration The configuration data for the license session. */ - constructor(configuration: Windows.Foundation.Collections.PropertySet); + constructor(configuration: Windows.Foundation.Collections.IPropertySet); /** * Updates the media protection manger with the appropriate settings so the media foundation can be used for playback. * @param mpm The media protection manager to be updated. @@ -39954,7 +39954,7 @@ declare namespace Windows { * Creates a license acquisition service request whose license will be tied to the media session. * @return The license acquisition service request. */ - createLAServiceRequest(): Windows.Media.Protection.PlayReady.PlayReadyLicenseAcquisitionServiceRequest; + createLAServiceRequest(): Windows.Media.Protection.PlayReady.IPlayReadyLicenseAcquisitionServiceRequest; } /** Provides the service methods for content metering operations. */ class PlayReadyMeteringReportServiceRequest { @@ -40041,17 +40041,17 @@ declare namespace Windows { * Returns an iterator that iterates over the items in the PlayReady secure stop collection. * @return The PlayReady secure stop iterator. */ - first(): Windows.Foundation.Collections.IIterator; + first(): Windows.Foundation.Collections.IIterator; } /** Provides for iteration of the IPlayReadySecureStopServiceRequest interface. */ abstract class PlayReadySecureStopIterator { /** Gets the current item in the PlayReady secure stop collection. */ - current: Windows.Media.Protection.PlayReady.PlayReadySecureStopServiceRequest; + current: Windows.Media.Protection.PlayReady.IPlayReadySecureStopServiceRequest; /** * Retrieves all items in the PlayReady secure stop collection. * @return */ - getMany(): { /** The items in the collection. */ items: Windows.Media.Protection.PlayReady.PlayReadySecureStopServiceRequest; /** The number of items in the collection. */ returnValue: number; }; + getMany(): { /** The items in the collection. */ items: Windows.Media.Protection.PlayReady.IPlayReadySecureStopServiceRequest; /** The number of items in the collection. */ returnValue: number; }; /** Gets a value that indicates whether there is a current item or the iterator is at the end of the PlayReady secure stop collection. */ hasCurrent: boolean; /** @@ -40123,7 +40123,7 @@ declare namespace Windows { */ getMessageBody(): number[]; /** Gets a collection of the SOAP headers applied to the current SOAP request or SOAP response. */ - messageHeaders: Windows.Foundation.Collections.PropertySet; + messageHeaders: Windows.Foundation.Collections.IPropertySet; /** Gets the base URL of the XML Web service. */ uri: Windows.Foundation.Uri; } @@ -40163,12 +40163,12 @@ declare namespace Windows { /** Gets the type of the content identifier used for fetching a license. */ contentIDType: Windows.Media.Protection.PlayReady.NDContentIDType; /** Gets or sets custom data for a license fetch challenge. */ - licenseFetchChallengeCustomData: Windows.Media.Protection.PlayReady.NDCustomData; + licenseFetchChallengeCustomData: Windows.Media.Protection.PlayReady.INDCustomData; } /** Provides the result of the PlayReady-ND license fetch. */ interface INDLicenseFetchResult { /** Gets the custom data from a license fetch response. */ - responseCustomData: Windows.Media.Protection.PlayReady.NDCustomData; + responseCustomData: Windows.Media.Protection.PlayReady.INDCustomData; } /** Specifies arguments for a PlayReady-ND ClosedCaptionDataReceived event. */ interface INDClosedCaptionDataReceivedEventArgs { @@ -40182,7 +40182,7 @@ declare namespace Windows { /** Gets custom data from a PlayReady-ND license fetch operation. This custom data is an argument from a PlayReady-ND LicenseFetchCompleted event. */ interface INDLicenseFetchCompletedEventArgs { /** Gets custom data from a license fetch response. */ - responseCustomData: Windows.Media.Protection.PlayReady.NDCustomData; + responseCustomData: Windows.Media.Protection.PlayReady.INDCustomData; } /** Provides arguments for the PlayReady-ND ProximityDetectionCompleted event. Apps fire this event after they complete the proximity detection process. */ interface INDProximityDetectionCompletedEventArgs { @@ -40192,7 +40192,7 @@ declare namespace Windows { /** Provides arguments for the PlayReady-ND RegistrationCompleted event. */ interface INDRegistrationCompletedEventArgs { /** Gets custom data from a registration response. */ - responseCustomData: Windows.Media.Protection.PlayReady.NDCustomData; + responseCustomData: Windows.Media.Protection.PlayReady.INDCustomData; /** Gets or sets whether to accept or reject a transmitter's certificate. */ transmitterCertificateAccepted: boolean; /** Gets transmitter properties from the transmitter's certificate to verify the transmitter. */ @@ -40960,7 +40960,7 @@ declare namespace Windows { * Creates a copy of SpeechSynthesisStream that references the same bytes as the original stream. * @return The new stream. */ - cloneStream(): Windows.Storage.Streams.RandomAccessStream; + cloneStream(): Windows.Storage.Streams.IRandomAccessStream; /** Releases system resources that are exposed by SpeechSynthesisStream . */ close(): void; /** Gets the MIME type of the content of SpeechSynthesisStream . */ @@ -40993,7 +40993,7 @@ declare namespace Windows { * @param options Specifies the type of the asynchronous read operation. * @return An asynchronous operation that includes progress updates. For more information, see ReadAsync method. */ - readAsync(buffer: Windows.Storage.Streams.Buffer, count: number, options: Windows.Storage.Streams.InputStreamOptions): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + readAsync(buffer: Windows.Storage.Streams.IBuffer, count: number, options: Windows.Storage.Streams.InputStreamOptions): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; /** * Goes to the specified position within SpeechSynthesisStream . * @param position The desired position within the stream. @@ -41006,7 +41006,7 @@ declare namespace Windows { * @param buffer The buffer into which the asynchronous writer operation places the bytes to write. * @return An asynchronous operation that includes progress updates. For more information, see WriteAsync method. */ - writeAsync(buffer: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + writeAsync(buffer: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; } /** Provides access to the functionality of an installed speech synthesis engine (voice). */ class SpeechSynthesizer { @@ -41231,7 +41231,7 @@ declare namespace Windows { /** Represents the results of a resource download operation. */ abstract class AdaptiveMediaSourceDownloadResult { /** Gets or sets a buffer containing the downloaded resource. */ - buffer: Windows.Storage.Streams.Buffer; + buffer: Windows.Storage.Streams.IBuffer; /** Gets or sets a string that identifies the MIME content type of the downloaded resource. */ contentType: string; /** Gets or sets an integer value that represents extended status information about the resource download operation. */ @@ -41429,7 +41429,7 @@ declare namespace Windows { * @param effectRequired Indicates whether the audio effect is required. * @param configuration Configuration properties for the audio effect. */ - addAudioEffect(activatableClassId: string, effectRequired: boolean, configuration: Windows.Foundation.Collections.PropertySet): void; + addAudioEffect(activatableClassId: string, effectRequired: boolean, configuration: Windows.Foundation.Collections.IPropertySet): void; /** * Adds the specified audio effect. * @param activatableClassId The identifier of the audio effect. @@ -41446,7 +41446,7 @@ declare namespace Windows { * @param effectRequired Indicates whether the video effect is required. * @param configuration Configuration properties for the video effect. */ - addVideoEffect(activatableClassId: string, effectRequired: boolean, configuration: Windows.Foundation.Collections.PropertySet): void; + addVideoEffect(activatableClassId: string, effectRequired: boolean, configuration: Windows.Foundation.Collections.IPropertySet): void; /** Specifies whether the media transcoder always re-encodes the source. */ alwaysReencode: boolean; /** Removes all audio and video effects from the transcode session. */ @@ -41460,7 +41460,7 @@ declare namespace Windows { * @param profile The profile to use for the operation. * @return When this method completes, a PrepareTranscodeResult object is returned which can be used to start the transcode. */ - prepareFileTranscodeAsync(source: Windows.Storage.StorageFile, destination: Windows.Storage.StorageFile, profile: Windows.Media.MediaProperties.MediaEncodingProfile): Windows.Foundation.IPromiseWithIAsyncOperation; + prepareFileTranscodeAsync(source: Windows.Storage.IStorageFile, destination: Windows.Storage.IStorageFile, profile: Windows.Media.MediaProperties.MediaEncodingProfile): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Asynchronously initializes the trancode operation on the specified media source and returns a PrepareTranscodeResult object which can be used to start the transcode operation. * @param source The media source to perform the transcode operation on. @@ -41468,7 +41468,7 @@ declare namespace Windows { * @param profile The profile to use for the operation. * @return When this method completes, a PrepareTranscodeResult object is returned which can be used to start the transcode. */ - prepareMediaStreamSourceTranscodeAsync(source: Windows.Media.Core.MediaSource, destination: Windows.Storage.Streams.RandomAccessStream, profile: Windows.Media.MediaProperties.MediaEncodingProfile): Windows.Foundation.IPromiseWithIAsyncOperation; + prepareMediaStreamSourceTranscodeAsync(source: Windows.Media.Core.IMediaSource, destination: Windows.Storage.Streams.IRandomAccessStream, profile: Windows.Media.MediaProperties.MediaEncodingProfile): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Asynchronously initializes the trancode operation on the specified stream and returns a PrepareTranscodeResult object which can be used to start the transcode operation. * @param source The source stream. @@ -41476,7 +41476,7 @@ declare namespace Windows { * @param profile The profile to use for the operation. * @return When this method completes, a PrepareTranscodeResult object is returned which can be used to start the transcode. */ - prepareStreamTranscodeAsync(source: Windows.Storage.Streams.RandomAccessStream, destination: Windows.Storage.Streams.RandomAccessStream, profile: Windows.Media.MediaProperties.MediaEncodingProfile): Windows.Foundation.IPromiseWithIAsyncOperation; + prepareStreamTranscodeAsync(source: Windows.Storage.Streams.IRandomAccessStream, destination: Windows.Storage.Streams.IRandomAccessStream, profile: Windows.Media.MediaProperties.MediaEncodingProfile): Windows.Foundation.IPromiseWithIAsyncOperation; /** Gets or sets the time interval to trim from the start of the output. */ trimStartTime: number; /** Gets or sets the time interval to trim from the end of the output. */ @@ -41559,7 +41559,7 @@ declare namespace Windows { /** Gets or sets the duration of the video frame. */ duration: number; /** Gets the extended property set which enables getting and setting properties on the media frame. */ - extendedProperties: Windows.Foundation.Collections.PropertySet; + extendedProperties: Windows.Foundation.Collections.IPropertySet; /** Gets or sets a value that indicates whether an video frame is the first frame after a gap in the stream. */ isDiscontinuous: boolean; /** Gets a value indicating whether the video frame is read-only. */ @@ -41579,7 +41579,7 @@ declare namespace Windows { * Sets the configuration properties that were supplied when the media parser or codec was registered. * @param configuration The configuration properties for the media parser or codec. */ - setProperties(configuration: Windows.Foundation.Collections.PropertySet): void; + setProperties(configuration: Windows.Foundation.Collections.IPropertySet): void; } /** Represents a marker at specific location in a media stream time-line. */ interface IMediaMarker { @@ -41637,7 +41637,7 @@ declare namespace Windows { * @param resultFile The file that the response will be written to. * @return The resultant download operation. */ - createDownload(uri: Windows.Foundation.Uri, resultFile: Windows.Storage.StorageFile): Windows.Networking.BackgroundTransfer.DownloadOperation; + createDownload(uri: Windows.Foundation.Uri, resultFile: Windows.Storage.IStorageFile): Windows.Networking.BackgroundTransfer.DownloadOperation; /** * Initializes a DownloadOperation object with the resource Uri , the file that the response is written to, and the request entity body. * @param uri The location of the resource. @@ -41645,7 +41645,7 @@ declare namespace Windows { * @param requestBodyFile A file that represents the request entity body, which contains additional data the server requires before the download can begin. The file this object points to must be valid for the duration of the download. * @return The resultant download operation. */ - createDownload(uri: Windows.Foundation.Uri, resultFile: Windows.Storage.StorageFile, requestBodyFile: Windows.Storage.StorageFile): Windows.Networking.BackgroundTransfer.DownloadOperation; + createDownload(uri: Windows.Foundation.Uri, resultFile: Windows.Storage.IStorageFile, requestBodyFile: Windows.Storage.IStorageFile): Windows.Networking.BackgroundTransfer.DownloadOperation; /** * Creates an asynchronous download operation that includes a URI, the file that the response will be written to, and the IInputStream object from which the file contents are read. * @param uri The location of the resource. @@ -41653,7 +41653,7 @@ declare namespace Windows { * @param requestBodyStream A stream that represents the request entity body. * @return The resultant asynchronous download operation. */ - createDownloadAsync(uri: Windows.Foundation.Uri, resultFile: Windows.Storage.StorageFile, requestBodyStream: Windows.Storage.Streams.IInputStream): Windows.Foundation.IPromiseWithIAsyncOperation; + createDownloadAsync(uri: Windows.Foundation.Uri, resultFile: Windows.Storage.IStorageFile, requestBodyStream: Windows.Storage.Streams.IInputStream): Windows.Foundation.IPromiseWithIAsyncOperation; /** Gets or sets the TileNotification used to define the visuals, identification tag, and expiration time of a tile notification used to update the app tile when indicating failure of a download to the user. */ failureTileNotification: Windows.UI.Notifications.TileNotification; /** Gets or sets the ToastNotification that defines the content, associated metadata, and events used in a toast notification to indicate failure of a download to the user. */ @@ -41723,7 +41723,7 @@ declare namespace Windows { * Sets the source file for a BackgroundTransferContentPart containing the file for upload. * @param value The source file. */ - setFile(value: Windows.Storage.StorageFile): void; + setFile(value: Windows.Storage.IStorageFile): void; /** * Sets content disposition header values that indicate the nature of the information that this BackgroundTransferContentPart represents. * @param headerName The header name. @@ -41837,7 +41837,7 @@ declare namespace Windows { * @param sourceFile The file for upload. * @return The resultant upload operation. */ - createUpload(uri: Windows.Foundation.Uri, sourceFile: Windows.Storage.StorageFile): Windows.Networking.BackgroundTransfer.UploadOperation; + createUpload(uri: Windows.Foundation.Uri, sourceFile: Windows.Storage.IStorageFile): Windows.Networking.BackgroundTransfer.UploadOperation; /** * Returns an asynchronous operation that, on completion, returns an UploadOperation with the specified URI and one or more BackgroundTransferContentPart objects. * @param uri The location for the upload. @@ -41938,7 +41938,7 @@ declare namespace Windows { /** Gets the URI from which to download the file. */ requestedUri: Windows.Foundation.Uri; /** Returns the IStorageFile object provided by the caller when creating the DownloadOperation object using CreateDownload . */ - resultFile: Windows.Storage.StorageFile; + resultFile: Windows.Storage.IStorageFile; /** Resumes a paused download operation. */ resume(): void; /** @@ -41998,7 +41998,7 @@ declare namespace Windows { /** Gets the URI to upload from. */ requestedUri: Windows.Foundation.Uri; /** Specifies the IStorageFile to upload. */ - sourceFile: Windows.Storage.StorageFile; + sourceFile: Windows.Storage.IStorageFile; /** * Starts an asynchronous upload operation. * @return An asynchronous upload operation that includes progress updates. @@ -42047,7 +42047,7 @@ declare namespace Windows { /** Gets the name of the app. */ attributionName: string; /** Gets the thumbnail of the app. */ - attributionThumbnail: Windows.Storage.Streams.RandomAccessStreamReference; + attributionThumbnail: Windows.Storage.Streams.IRandomAccessStreamReference; /** Gets the number of bytes received by the app over the network. */ bytesReceived: number; /** Gets the number of bytes sent by the app over the network. */ @@ -42202,7 +42202,7 @@ declare namespace Windows { /** Defines a specific NetworkCostType value to query for. */ networkCostType: Windows.Networking.Connectivity.NetworkCostType; /** Gets available data as raw data. */ - rawData: Windows.Storage.Streams.Buffer; + rawData: Windows.Storage.Streams.IBuffer; /** Indicates a specific network operator ID to query for. */ serviceProviderGuid: string; } @@ -43002,7 +43002,7 @@ declare namespace Windows { /** Represents the result of a mobile broadband device service command. */ abstract class MobileBroadbandDeviceServiceCommandResult { /** Gets the response data from the command execution on a mobile broadband device service. */ - responseData: Windows.Storage.Streams.Buffer; + responseData: Windows.Storage.Streams.IBuffer; /** Gets the status code of the command execution on a mobile broadband device service. */ statusCode: number; } @@ -43016,19 +43016,19 @@ declare namespace Windows { * @param data The data to be submitted as part of the command. * @return An asynchronous operation that returns the result of the command. */ - sendQueryCommandAsync(commandId: number, data: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncOperation; + sendQueryCommandAsync(commandId: number, data: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Starts an asynchronous operation on a mobile broadband device service to send a set command to the command session. * @param commandId The command identifier for the set command to be executed. * @param data The data to be submitted as part of the command. * @return An asynchronous operation that returns the result of the command. */ - sendSetCommandAsync(commandId: number, data: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncOperation; + sendSetCommandAsync(commandId: number, data: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncOperation; } /** Provides data for a DataReceived event on a MobileBroadbandDeviceServiceDataSession when data is received . */ abstract class MobileBroadbandDeviceServiceDataReceivedEventArgs { /** Gets the data received on the MobileBroadbandDeviceServiceDataSession . */ - receivedData: Windows.Storage.Streams.Buffer; + receivedData: Windows.Storage.Streams.IBuffer; } /** Represents a device service data session which allows the caller to write data to the modem on a mobile broadband device service. */ abstract class MobileBroadbandDeviceServiceDataSession { @@ -43043,7 +43043,7 @@ declare namespace Windows { * @param value The data to be submitted as part of the write operation. * @return An asynchronous operation that returns the result of the write operation. */ - writeDataAsync(value: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncAction; + writeDataAsync(value: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncAction; addEventListener(type: string, listener: Windows.Foundation.EventHandler): void; removeEventListener(type: string, listener: Windows.Foundation.EventHandler): void; } @@ -43063,7 +43063,7 @@ declare namespace Windows { /** Gets the device service identifier for the device service trigger event. */ deviceServiceId: string; /** Gets the received data associated with the triggered event. */ - receivedData: Windows.Storage.Streams.Buffer; + receivedData: Windows.Storage.Streams.IBuffer; } /** Describes different types of Mobile Broadband devices. */ enum MobileBroadbandDeviceType { @@ -43340,7 +43340,7 @@ declare namespace Windows { */ getRecordDetailsAsync(uiccFilePath: Windows.Foundation.Collections.IIterable): Windows.Foundation.IPromiseWithIAsyncOperation; /** Gets the ID of this UICC application. */ - id: Windows.Storage.Streams.Buffer; + id: Windows.Storage.Streams.IBuffer; /** Gets what kind of UICC application this instance represents. */ kind: Windows.Networking.NetworkOperators.UiccAppKind; /** @@ -43365,7 +43365,7 @@ declare namespace Windows { /** Encapsulates the results of a UICC application record read operation. */ abstract class MobileBroadbandUiccAppReadRecordResult { /** Gets the data returned by the application record read operation. Note that if Status is not Success, this value may be invalid or empty. */ - data: Windows.Storage.Streams.Buffer; + data: Windows.Storage.Streams.IBuffer; /** Gets a value which indicates whether the record read completed successfully. */ status: Windows.Networking.NetworkOperators.MobileBroadbandUiccAppOperationStatus; } @@ -43815,7 +43815,7 @@ declare namespace Windows { */ static createWatcher(): Windows.Networking.Proximity.PeerWatcher; /** Gets or sets user or device data to include during device discovery. */ - static discoveryData: Windows.Storage.Streams.Buffer; + static discoveryData: Windows.Storage.Streams.IBuffer; /** Gets or sets the name that identifies your computer to remote peers. */ static displayName: string; /** @@ -43850,7 +43850,7 @@ declare namespace Windows { /** Contains information that identifies a peer. */ abstract class PeerInformation { /** Gets the device data included during device discovery. */ - discoveryData: Windows.Storage.Streams.Buffer; + discoveryData: Windows.Storage.Streams.IBuffer; /** Gets the display name of the peer. */ displayName: string; /** Gets the hostname or IP address of the peer. */ @@ -43953,7 +43953,7 @@ declare namespace Windows { * @param message The binary message data to deliver to subscribers. * @return A unique publication ID for the published message. */ - publishBinaryMessage(messageType: string, message: Windows.Storage.Streams.Buffer): number; + publishBinaryMessage(messageType: string, message: Windows.Storage.Streams.IBuffer): number; /** * Publishes a message that contains binary data to subscribers of the specified message type. The specified handler is called when the message has been transmitted. * @param messageType The type of message to deliver to subscribers. @@ -43961,7 +43961,7 @@ declare namespace Windows { * @param messageTransmittedHandler The handler to call when the message has been transmitted. * @return A unique publication ID for the published message. */ - publishBinaryMessage(messageType: string, message: Windows.Storage.Streams.Buffer, messageTransmittedHandler: Windows.Networking.Proximity.MessageTransmittedHandler): number; + publishBinaryMessage(messageType: string, message: Windows.Storage.Streams.IBuffer, messageTransmittedHandler: Windows.Networking.Proximity.MessageTransmittedHandler): number; /** * Publishes a message to subscribers of the specified message type. * @param messageType The type of message to deliver to subscribers. @@ -44013,7 +44013,7 @@ declare namespace Windows { /** Represents a message that's received from a subscription. */ abstract class ProximityMessage { /** Gets the binary data of the message. */ - data: Windows.Storage.Streams.Buffer; + data: Windows.Storage.Streams.IBuffer; /** Gets the message data as text. */ dataAsString: string; /** Gets the type of the message. */ @@ -44524,9 +44524,9 @@ declare namespace Windows { * Constructs a new SocketActivityContext object with given context data. * @param data Context data to be used when the socket broker notifies the app of socket activity. */ - constructor(data: Windows.Storage.Streams.Buffer); + constructor(data: Windows.Storage.Streams.IBuffer); /** Get the serialized data to associate the app context to a transferred socket. */ - data: Windows.Storage.Streams.Buffer; + data: Windows.Storage.Streams.IBuffer; } /** Provides information on the transferred socket from the Socket Broker. */ abstract class SocketActivityInformation { @@ -44837,7 +44837,7 @@ declare namespace Windows { /** Gets the intermediate certificates sent by the server during SSL negotiation when making an SSL connection with a StreamSocket . */ serverIntermediateCertificates: Windows.Foundation.Collections.IVectorView; /** Get a byte array that represents the private shared secret exchanged by proximity devices. */ - sessionKey: Windows.Storage.Streams.Buffer; + sessionKey: Windows.Storage.Streams.IBuffer; } /** Supports listening for an incoming network connection using a TCP stream socket or Bluetooth RFCOMM. */ class StreamSocketListener { @@ -45183,7 +45183,7 @@ declare namespace Windows { * @param buffer This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. * @return This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. */ - static createFromSnapshotBuffer(buffer: Windows.Storage.Streams.Buffer): Windows.Networking.XboxLive.XboxLiveDeviceAddress; + static createFromSnapshotBuffer(buffer: Windows.Storage.Streams.IBuffer): Windows.Networking.XboxLive.XboxLiveDeviceAddress; /** * This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. * @param buffer This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. @@ -45212,7 +45212,7 @@ declare namespace Windows { * This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. * @return This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. */ - getSnapshotAsBuffer(): Windows.Storage.Streams.Buffer; + getSnapshotAsBuffer(): Windows.Storage.Streams.IBuffer; /** * This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. * @return @@ -45441,7 +45441,7 @@ declare namespace Windows { */ static publishPrivatePayloadBytes(payload: number[]): void; /** This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. */ - static publishedPrivatePayload: Windows.Storage.Streams.Buffer; + static publishedPrivatePayload: Windows.Storage.Streams.IBuffer; /** This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. */ constructor(); /** This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. */ @@ -45557,7 +45557,7 @@ declare namespace Windows { /** This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. */ status: Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurementStatus; /** This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. */ - value: Windows.Storage.Streams.Buffer; + value: Windows.Storage.Streams.IBuffer; } /** This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. */ enum XboxLiveSocketKind { @@ -46137,7 +46137,7 @@ declare namespace Windows { * @param webAccountPicture The picture to set. * @return This method does not return a value. */ - static setWebAccountPictureAsync(webAccount: Windows.Security.Credentials.WebAccount, webAccountPicture: Windows.Storage.Streams.RandomAccessStream): Windows.Foundation.IPromiseWithIAsyncAction; + static setWebAccountPictureAsync(webAccount: Windows.Security.Credentials.WebAccount, webAccountPicture: Windows.Storage.Streams.IRandomAccessStream): Windows.Foundation.IPromiseWithIAsyncAction; /** * Updates the properties of a web account asynchronously. * @param webAccount The web account to update. @@ -46441,25 +46441,25 @@ declare namespace Windows { * @param data The data to cryptographically sign. * @return When this method completes, it returns a key credential operation result. */ - requestSignAsync(data: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncOperation; + requestSignAsync(data: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Gets the public portion of the asymmetric KeyCredential . * @return The public portion of the asymmetric key credential. */ - retrievePublicKey(): Windows.Storage.Streams.Buffer; + retrievePublicKey(): Windows.Storage.Streams.IBuffer; /** * Gets the public portion of the asymmetric KeyCredential . * @param blobType The blob type of the public key to retrieve. * @return The public portion of the asymmetric key credential. */ - retrievePublicKey(blobType: Windows.Security.Cryptography.Core.CryptographicPublicKeyBlobType): Windows.Storage.Streams.Buffer; + retrievePublicKey(blobType: Windows.Security.Cryptography.Core.CryptographicPublicKeyBlobType): Windows.Storage.Streams.IBuffer; } /** Represents the results of the KeyCredential.GetAttestationAsync method. */ abstract class KeyCredentialAttestationResult { /** Gets the attestation information for the KeyCredential. */ - attestationBuffer: Windows.Storage.Streams.Buffer; + attestationBuffer: Windows.Storage.Streams.IBuffer; /** Gets the chain of certificates used to verify the attestation. */ - certificateChainBuffer: Windows.Storage.Streams.Buffer; + certificateChainBuffer: Windows.Storage.Streams.IBuffer; /** Gets the status of the key credential attestation. */ status: Windows.Security.Credentials.KeyCredentialAttestationStatus; } @@ -46516,7 +46516,7 @@ declare namespace Windows { /** Represents the result of a key credential operation. */ abstract class KeyCredentialOperationResult { /** Gets the result of the key credential operation. */ - result: Windows.Storage.Streams.Buffer; + result: Windows.Storage.Streams.IBuffer; /** Gets the status of the key credential. */ status: Windows.Security.Credentials.KeyCredentialStatus; } @@ -46558,7 +46558,7 @@ declare namespace Windows { /** Gets or sets the password string of the credential. */ password: string; /** This API is intended for internal use only should not be used in your code. */ - properties: Windows.Foundation.Collections.PropertySet; + properties: Windows.Foundation.Collections.IPropertySet; /** Gets or sets the resource of the credential. */ resource: string; /** Populates the password for the credential. After the operation returns successfully, you can get the password from the Password property. */ @@ -46718,14 +46718,14 @@ declare namespace Windows { /** Gets or sets the body of text that displays to the user. */ message: string; /** Gets or sets whether to fill dialog box fields with previous credentials. */ - previousCredential: Windows.Storage.Streams.Buffer; + previousCredential: Windows.Storage.Streams.IBuffer; /** Gets or sets the name of the target computer. */ targetName: string; } /** Describes the results of the dialog box operation. */ abstract class CredentialPickerResults { /** Gets the opaque credential. */ - credential: Windows.Storage.Streams.Buffer; + credential: Windows.Storage.Streams.IBuffer; /** Gets the domain name portion of the unpacked credential. */ credentialDomainName: string; /** Gets the password portion of the unpacked credential. */ @@ -46807,7 +46807,7 @@ declare namespace Windows { * @param desizedSize The desired size of the web account picture. * @return When this method completes, it returns the web account's picture. */ - getPictureAsync(desizedSize: Windows.Security.Credentials.WebAccountPictureSize): Windows.Foundation.IPromiseWithIAsyncOperation; + getPictureAsync(desizedSize: Windows.Security.Credentials.WebAccountPictureSize): Windows.Foundation.IPromiseWithIAsyncOperation; /** Gets the Id of the web account. */ id: string; /** Gets the properties of the web account. */ @@ -46892,7 +46892,7 @@ declare namespace Windows { * Create a new instance of the Certificate class using the specified certificate data. * @param certBlob The certificate data as an ASN.1 DER encoded certificate blob (.cer or .p7b). */ - constructor(certBlob: Windows.Storage.Streams.Buffer); + constructor(certBlob: Windows.Storage.Streams.IBuffer); /** * Build a certificate chain for the specified certificates starting from the end entity certificate to the root using the specified chain building parameters. * @param certificates The intermediate certificates to use when building the certificate chain. @@ -46914,7 +46914,7 @@ declare namespace Windows { * Gets the ASN.1 DER encoded certificate blob. * @return The ASN.1 DER encoded certificate blob. */ - getCertificateBlob(): Windows.Storage.Streams.Buffer; + getCertificateBlob(): Windows.Storage.Streams.IBuffer; /** * Gets the hash value for the certificate for a specified algorithm. * @param hashAlgorithmName The hash algorithm to use for the hash value of the certificate. Only values of "SHA1" or "SHA256" are supported. @@ -47221,12 +47221,12 @@ declare namespace Windows { * @param certificates The list of certificates to build the chain for the signer certificates. * @return An asynchronous operation to retrieve the attached signed CMS message. */ - static generateSignatureAsync(data: Windows.Storage.Streams.Buffer, signers: Windows.Foundation.Collections.IIterable, certificates: Windows.Foundation.Collections.IIterable): Windows.Foundation.IPromiseWithIAsyncOperation; + static generateSignatureAsync(data: Windows.Storage.Streams.IBuffer, signers: Windows.Foundation.Collections.IIterable, certificates: Windows.Foundation.Collections.IIterable): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Creates a new instance of the CmsAttachedSignature class for the specified signed CMS message. * @param inputBlob A signed CMS message blob. */ - constructor(inputBlob: Windows.Storage.Streams.Buffer); + constructor(inputBlob: Windows.Storage.Streams.IBuffer); /** Gets the list of certificates that are used for chain building for the signer certificate. */ certificates: Windows.Foundation.Collections.IVectorView; /** Gets the content of the signed CMS message. */ @@ -47248,12 +47248,12 @@ declare namespace Windows { * @param certificates The list of certificates to build the chain for the signer certificates. * @return An asynchronous operation to retrieve the detached signed CMS message. */ - static generateSignatureAsync(data: Windows.Storage.Streams.IInputStream, signers: Windows.Foundation.Collections.IIterable, certificates: Windows.Foundation.Collections.IIterable): Windows.Foundation.IPromiseWithIAsyncOperation; + static generateSignatureAsync(data: Windows.Storage.Streams.IInputStream, signers: Windows.Foundation.Collections.IIterable, certificates: Windows.Foundation.Collections.IIterable): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Creates a new instance of the CmsDetachedSignature class for the specified signed CMS message. * @param inputBlob A signed CMS message blob. */ - constructor(inputBlob: Windows.Storage.Streams.Buffer); + constructor(inputBlob: Windows.Storage.Streams.IBuffer); /** Gets the list of certificates that are used for chain building for the signer certificate. */ certificates: Windows.Foundation.Collections.IVectorView; /** Gets the list of signers that are used for creating or verifying the signature. */ @@ -47565,27 +47565,27 @@ declare namespace Windows { * @param keyBlob Buffer that contains the key pair to import. * @return Represents the imported key pair. */ - importKeyPair(keyBlob: Windows.Storage.Streams.Buffer): Windows.Security.Cryptography.Core.CryptographicKey; + importKeyPair(keyBlob: Windows.Storage.Streams.IBuffer): Windows.Security.Cryptography.Core.CryptographicKey; /** * Imports a public/private key pair from a buffer in the specified format. * @param keyBlob Buffer that contains the key pair to import. * @param BlobType A CryptographicPrivateKeyBlobType enumeration value that specifies information about the private key contained in the keyBlob buffer. The default value is Pkcs8RawPrivateKeyInfo. * @return Represents the imported key pair. */ - importKeyPair(keyBlob: Windows.Storage.Streams.Buffer, BlobType: Windows.Security.Cryptography.Core.CryptographicPrivateKeyBlobType): Windows.Security.Cryptography.Core.CryptographicKey; + importKeyPair(keyBlob: Windows.Storage.Streams.IBuffer, BlobType: Windows.Security.Cryptography.Core.CryptographicPrivateKeyBlobType): Windows.Security.Cryptography.Core.CryptographicKey; /** * Imports a public key into a buffer. * @param keyBlob Buffer that contains the key to import. * @return Represents the imported key. */ - importPublicKey(keyBlob: Windows.Storage.Streams.Buffer): Windows.Security.Cryptography.Core.CryptographicKey; + importPublicKey(keyBlob: Windows.Storage.Streams.IBuffer): Windows.Security.Cryptography.Core.CryptographicKey; /** * Imports a public key into a buffer for a specified format. * @param keyBlob Buffer that contains the key to import. * @param BlobType A CryptographicPublicKeyBlobType enumeration value that specifies the format of the public key contained in the keyBlob buffer. The default value is X509SubjectPublicKeyInfo. * @return Represents the imported key. */ - importPublicKey(keyBlob: Windows.Storage.Streams.Buffer, BlobType: Windows.Security.Cryptography.Core.CryptographicPublicKeyBlobType): Windows.Security.Cryptography.Core.CryptographicKey; + importPublicKey(keyBlob: Windows.Storage.Streams.IBuffer, BlobType: Windows.Security.Cryptography.Core.CryptographicPublicKeyBlobType): Windows.Security.Cryptography.Core.CryptographicKey; } /** Represents information about a target algorithm. */ enum Capi1KdfTargetAlgorithm { @@ -47603,7 +47603,7 @@ declare namespace Windows { * @param iv Buffer that contains the initialization vector. If an initialization vector (IV) was used to encrypt the data, you must use the same IV to decrypt the data. For more information, see Encrypt . * @return Decrypted data. */ - static decrypt(key: Windows.Security.Cryptography.Core.CryptographicKey, data: Windows.Storage.Streams.Buffer, iv: Windows.Storage.Streams.Buffer): Windows.Storage.Streams.Buffer; + static decrypt(key: Windows.Security.Cryptography.Core.CryptographicKey, data: Windows.Storage.Streams.IBuffer, iv: Windows.Storage.Streams.IBuffer): Windows.Storage.Streams.IBuffer; /** * Decrypts and authenticates data. For more information and a complete code sample, see EncryptedAndAuthenticatedData . * @param key Symmetric key to use. @@ -47613,7 +47613,7 @@ declare namespace Windows { * @param authenticatedData Authenticated data. This can be Null. * @return A buffer that contains the decrypted data. */ - static decryptAndAuthenticate(key: Windows.Security.Cryptography.Core.CryptographicKey, data: Windows.Storage.Streams.Buffer, nonce: Windows.Storage.Streams.Buffer, authenticationTag: Windows.Storage.Streams.Buffer, authenticatedData: Windows.Storage.Streams.Buffer): Windows.Storage.Streams.Buffer; + static decryptAndAuthenticate(key: Windows.Security.Cryptography.Core.CryptographicKey, data: Windows.Storage.Streams.IBuffer, nonce: Windows.Storage.Streams.IBuffer, authenticationTag: Windows.Storage.Streams.IBuffer, authenticatedData: Windows.Storage.Streams.IBuffer): Windows.Storage.Streams.IBuffer; /** * Decrypts the encrypted input data using the supplied key. * @param key The key to use to decrypt the encrypted input data. @@ -47621,7 +47621,7 @@ declare namespace Windows { * @param iv The initial vector for a symmetric key. For an asymmetric key, set this value to null. * @return The decrypted data. */ - static decryptAsync(key: Windows.Security.Cryptography.Core.CryptographicKey, data: Windows.Storage.Streams.Buffer, iv: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncOperation; + static decryptAsync(key: Windows.Security.Cryptography.Core.CryptographicKey, data: Windows.Storage.Streams.IBuffer, iv: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Derives a key from another key by using a key derivation function. For more information, see the KeyDerivationAlgorithmProvider and KeyDerivationParameters classes. * @param key The symmetric or secret key used for derivation. @@ -47629,7 +47629,7 @@ declare namespace Windows { * @param desiredKeySize Requested size, in bytes, of the derived key. * @return Buffer that contains the derived key. */ - static deriveKeyMaterial(key: Windows.Security.Cryptography.Core.CryptographicKey, parameters: Windows.Security.Cryptography.Core.KeyDerivationParameters, desiredKeySize: number): Windows.Storage.Streams.Buffer; + static deriveKeyMaterial(key: Windows.Security.Cryptography.Core.CryptographicKey, parameters: Windows.Security.Cryptography.Core.KeyDerivationParameters, desiredKeySize: number): Windows.Storage.Streams.IBuffer; /** * Encrypts data by using a symmetric or asymmetric algorithm. * @param key Cryptographic key to use for encryption. This can be an asymmetric or a symmetric key. For more information, see AsymmetricKeyAlgorithmProvider and SymmetricKeyAlgorithmProvider . @@ -47637,7 +47637,7 @@ declare namespace Windows { * @param iv Buffer that contains the initialization vector. This can be null for a symmetric algorithm and should always be null for an asymmetric algorithm. If an initialization vector (IV) was used to encrypt the data, you must use the same IV to decrypt the data. You can use the GenerateRandom method to create an IV that contains random data. Other IVs, such as nonce-generated vectors, require custom implementation. For more information, see Cryptographic keys. * @return Encrypted data. */ - static encrypt(key: Windows.Security.Cryptography.Core.CryptographicKey, data: Windows.Storage.Streams.Buffer, iv: Windows.Storage.Streams.Buffer): Windows.Storage.Streams.Buffer; + static encrypt(key: Windows.Security.Cryptography.Core.CryptographicKey, data: Windows.Storage.Streams.IBuffer, iv: Windows.Storage.Streams.IBuffer): Windows.Storage.Streams.IBuffer; /** * Performs authenticated encryption. * @param key Symmetric key to use for encryption. @@ -47646,35 +47646,35 @@ declare namespace Windows { * @param authenticatedData Authenticated data. This can be Null. * @return The encrypted and authenticated data. */ - static encryptAndAuthenticate(key: Windows.Security.Cryptography.Core.CryptographicKey, data: Windows.Storage.Streams.Buffer, nonce: Windows.Storage.Streams.Buffer, authenticatedData: Windows.Storage.Streams.Buffer): Windows.Security.Cryptography.Core.EncryptedAndAuthenticatedData; + static encryptAndAuthenticate(key: Windows.Security.Cryptography.Core.CryptographicKey, data: Windows.Storage.Streams.IBuffer, nonce: Windows.Storage.Streams.IBuffer, authenticatedData: Windows.Storage.Streams.IBuffer): Windows.Security.Cryptography.Core.EncryptedAndAuthenticatedData; /** * Signs digital content. For more information, see MACs, hashes, and signatures. * @param key Key used for signing. * @param data Data to be signed. * @return The data's signature. */ - static sign(key: Windows.Security.Cryptography.Core.CryptographicKey, data: Windows.Storage.Streams.Buffer): Windows.Storage.Streams.Buffer; + static sign(key: Windows.Security.Cryptography.Core.CryptographicKey, data: Windows.Storage.Streams.IBuffer): Windows.Storage.Streams.IBuffer; /** * Computes a hash for the supplied input data, and then signs the computed hash using the specified key. * @param key The key to use to compute and sign the hash. * @param data The raw input data to sign. The data is not hashed. * @return An asynchronous operation to retrieve the hashed and signed data. */ - static signAsync(key: Windows.Security.Cryptography.Core.CryptographicKey, data: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncOperation; + static signAsync(key: Windows.Security.Cryptography.Core.CryptographicKey, data: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Signs the hashed input data using the specified key. * @param key The key to use to sign the hash. This key must be an asymmetric key obtained from a PersistedKeyProvider or AsymmetricKeyAlgorithmProvider . * @param data The input data to sign. The data is a hashed value which can be obtained through incremental hash. * @return The signed data. */ - static signHashedData(key: Windows.Security.Cryptography.Core.CryptographicKey, data: Windows.Storage.Streams.Buffer): Windows.Storage.Streams.Buffer; + static signHashedData(key: Windows.Security.Cryptography.Core.CryptographicKey, data: Windows.Storage.Streams.IBuffer): Windows.Storage.Streams.IBuffer; /** * Signs the hashed input data using the specified key. * @param key The key to use to sign the hash. This key must be an asymmetric key obtained from a PersistedKeyProvider or AsymmetricKeyAlgorithmProvider . * @param data The input data to sign. The data is a hashed value which can be obtained through incremental hash. * @return An asynchronous operation to retrieve the signed data. */ - static signHashedDataAsync(key: Windows.Security.Cryptography.Core.CryptographicKey, data: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncOperation; + static signHashedDataAsync(key: Windows.Security.Cryptography.Core.CryptographicKey, data: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Verifies a message signature. * @param key Key used for verification. This must be the same key previously used to sign the message. @@ -47682,7 +47682,7 @@ declare namespace Windows { * @param signature Signature previously computed over the message to be verified. * @return true if the message is verified. */ - static verifySignature(key: Windows.Security.Cryptography.Core.CryptographicKey, data: Windows.Storage.Streams.Buffer, signature: Windows.Storage.Streams.Buffer): boolean; + static verifySignature(key: Windows.Security.Cryptography.Core.CryptographicKey, data: Windows.Storage.Streams.IBuffer, signature: Windows.Storage.Streams.IBuffer): boolean; /** * Verifies the signature of the specified input data against a known signature. * @param key The key to use to retrieve the signature from the input data. This key must be an asymmetric key obtained from a PersistedKeyProvider or AsymmetricKeyAlgorithmProvider . @@ -47690,7 +47690,7 @@ declare namespace Windows { * @param signature The known signature to use to verify the signature of the input data. * @return True if the signature is verified; otherwise false. */ - static verifySignatureWithHashInput(key: Windows.Security.Cryptography.Core.CryptographicKey, data: Windows.Storage.Streams.Buffer, signature: Windows.Storage.Streams.Buffer): boolean; + static verifySignatureWithHashInput(key: Windows.Security.Cryptography.Core.CryptographicKey, data: Windows.Storage.Streams.IBuffer, signature: Windows.Storage.Streams.IBuffer): boolean; } /** Represents a reusable hashing object and contains the result of a hashing operation. */ abstract class CryptographicHash { @@ -47698,12 +47698,12 @@ declare namespace Windows { * Appends a binary encoded string to the data stored in the CryptographicHash object. * @param data Data to append. */ - append(data: Windows.Storage.Streams.Buffer): void; + append(data: Windows.Storage.Streams.IBuffer): void; /** * Gets hashed data from the CryptographicHash object and resets the object. * @return Hashed data. */ - getValueAndReset(): Windows.Storage.Streams.Buffer; + getValueAndReset(): Windows.Storage.Streams.IBuffer; } /** Represents a symmetric key or an asymmetric key pair. */ abstract class CryptographicKey { @@ -47711,24 +47711,24 @@ declare namespace Windows { * Exports the key pair to a buffer. * @return Buffer that contains the key pair. */ - export(): Windows.Storage.Streams.Buffer; + export(): Windows.Storage.Streams.IBuffer; /** * Exports the key pair to a buffer given a specified format. * @param BlobType A CryptographicPrivateKeyBlobType enumeration value that specifies the format of the key in the buffer. The default value is Pkcs8RawPrivateKeyInfo. * @return Buffer that contains the key pair. */ - export(BlobType: Windows.Security.Cryptography.Core.CryptographicPrivateKeyBlobType): Windows.Storage.Streams.Buffer; + export(BlobType: Windows.Security.Cryptography.Core.CryptographicPrivateKeyBlobType): Windows.Storage.Streams.IBuffer; /** * Exports a public key to a buffer. * @return Buffer that contains the public key. */ - exportPublicKey(): Windows.Storage.Streams.Buffer; + exportPublicKey(): Windows.Storage.Streams.IBuffer; /** * Exports a public key to a buffer given a specified format. * @param BlobType A CryptographicPublicKeyBlobType enumeration value that specifies the format of the key in the buffer. The default value is X509SubjectPublicKeyInfo. * @return Buffer that contains the public key. */ - exportPublicKey(BlobType: Windows.Security.Cryptography.Core.CryptographicPublicKeyBlobType): Windows.Storage.Streams.Buffer; + exportPublicKey(BlobType: Windows.Security.Cryptography.Core.CryptographicPublicKeyBlobType): Windows.Storage.Streams.IBuffer; /** Gets the size, in bits, of the key. */ keySize: number; } @@ -47865,9 +47865,9 @@ declare namespace Windows { /** Contains data that can be retrieved from encrypted and authenticated data. Authenticated encryption algorithms are opened by using the SymmetricKeyAlgorithmProvider class. */ abstract class EncryptedAndAuthenticatedData { /** Gets the authentication tag. */ - authenticationTag: Windows.Storage.Streams.Buffer; + authenticationTag: Windows.Storage.Streams.IBuffer; /** Gets the encrypted data. */ - encryptedData: Windows.Storage.Streams.Buffer; + encryptedData: Windows.Storage.Streams.IBuffer; } /** Contains static properties that enable you to retrieve algorithm names that can be used in the OpenAlgorithm method of the HashAlgorithmProvider class. */ abstract class HashAlgorithmNames { @@ -47902,7 +47902,7 @@ declare namespace Windows { * @param data Data to be hashed. * @return Hashed data. */ - hashData(data: Windows.Storage.Streams.Buffer): Windows.Storage.Streams.Buffer; + hashData(data: Windows.Storage.Streams.IBuffer): Windows.Storage.Streams.IBuffer; /** Gets the length, in bytes, of the hash. */ hashLength: number; } @@ -47964,7 +47964,7 @@ declare namespace Windows { * @param keyMaterial Data used to create the key. * @return Represents the KDF key. */ - createKey(keyMaterial: Windows.Storage.Streams.Buffer): Windows.Security.Cryptography.Core.CryptographicKey; + createKey(keyMaterial: Windows.Storage.Streams.IBuffer): Windows.Security.Cryptography.Core.CryptographicKey; } /** Represents parameters used when deriving a key. */ abstract class KeyDerivationParameters { @@ -47980,14 +47980,14 @@ declare namespace Windows { * @param iterationCount Number of iterations to be used to derive a key. * @return Refers to the parameters used during key derivation. */ - static buildForPbkdf2(pbkdf2Salt: Windows.Storage.Streams.Buffer, iterationCount: number): Windows.Security.Cryptography.Core.KeyDerivationParameters; + static buildForPbkdf2(pbkdf2Salt: Windows.Storage.Streams.IBuffer, iterationCount: number): Windows.Security.Cryptography.Core.KeyDerivationParameters; /** * Creates a KeyDerivationParameters object for use in a counter mode, hash-based message authentication code (HMAC) key derivation function. * @param label Buffer that specifies the purpose for the derived keying material. * @param context Buffer that specifies information related to the derived keying material. For example, the context can identify the parties who are deriving the keying material and, optionally, a nonce known by the parties. * @return Refers to the parameters used during key derivation. */ - static buildForSP800108(label: Windows.Storage.Streams.Buffer, context: Windows.Storage.Streams.Buffer): Windows.Security.Cryptography.Core.KeyDerivationParameters; + static buildForSP800108(label: Windows.Storage.Streams.IBuffer, context: Windows.Storage.Streams.IBuffer): Windows.Security.Cryptography.Core.KeyDerivationParameters; /** * Creates a KeyDerivationParameters object for use in the SP800-56A key derivation function. * @param algorithmId Specifies the intended purpose of the derived key. @@ -47997,13 +47997,13 @@ declare namespace Windows { * @param suppPrivInfo Contains private information known to both initiator and responder, such as a shared secret. * @return Refers to the parameters used during key derivation. */ - static buildForSP80056a(algorithmId: Windows.Storage.Streams.Buffer, partyUInfo: Windows.Storage.Streams.Buffer, partyVInfo: Windows.Storage.Streams.Buffer, suppPubInfo: Windows.Storage.Streams.Buffer, suppPrivInfo: Windows.Storage.Streams.Buffer): Windows.Security.Cryptography.Core.KeyDerivationParameters; + static buildForSP80056a(algorithmId: Windows.Storage.Streams.IBuffer, partyUInfo: Windows.Storage.Streams.IBuffer, partyVInfo: Windows.Storage.Streams.IBuffer, suppPubInfo: Windows.Storage.Streams.IBuffer, suppPrivInfo: Windows.Storage.Streams.IBuffer): Windows.Security.Cryptography.Core.KeyDerivationParameters; /** Gets or sets the Capi1KdfTargetAlgorithm . */ capi1KdfTargetAlgorithm: Windows.Security.Cryptography.Core.Capi1KdfTargetAlgorithm; /** Retrieves the number of iterations used to derive the key. For more information, see BuildForPbkdf2 . */ iterationCount: number; /** Gets or sets the parameters used by the key derivation algorithm. */ - kdfGenericBinary: Windows.Storage.Streams.Buffer; + kdfGenericBinary: Windows.Storage.Streams.IBuffer; } /** Contains static properties that enable you to retrieve algorithm names that can be used in the OpenAlgorithm method of the MacAlgorithmProvider class. */ abstract class MacAlgorithmNames { @@ -48035,13 +48035,13 @@ declare namespace Windows { * @param keyMaterial Random data used to help generate the hash. You can call the GenerateRandom method to create the random data. * @return A CryptographicHash object that supports incremental hash operations. */ - createHash(keyMaterial: Windows.Storage.Streams.Buffer): Windows.Security.Cryptography.Core.CryptographicHash; + createHash(keyMaterial: Windows.Storage.Streams.IBuffer): Windows.Security.Cryptography.Core.CryptographicHash; /** * Creates a symmetric key that can be used to create the MAC value. * @param keyMaterial Random data used to help generate the key. You can call the GenerateRandom method to create the random data. * @return Symmetric key. */ - createKey(keyMaterial: Windows.Storage.Streams.Buffer): Windows.Security.Cryptography.Core.CryptographicKey; + createKey(keyMaterial: Windows.Storage.Streams.IBuffer): Windows.Security.Cryptography.Core.CryptographicKey; /** Gets the length, in bytes, of the message authentication code. */ macLength: number; } @@ -48122,7 +48122,7 @@ declare namespace Windows { * @param keyMaterial Data used to generate the key. You can call the GenerateRandom method to create random key material. * @return Symmetric key. */ - createSymmetricKey(keyMaterial: Windows.Storage.Streams.Buffer): Windows.Security.Cryptography.Core.CryptographicKey; + createSymmetricKey(keyMaterial: Windows.Storage.Streams.IBuffer): Windows.Security.Cryptography.Core.CryptographicKey; } } /** Contains static methods that implement data management functionality common to cryptographic operations. */ @@ -48133,63 +48133,63 @@ declare namespace Windows { * @param object2 Buffer to be used for comparison. * @return True specifies that the buffers are equal. Two buffers are equal if each code point in one matches the corresponding code point in the other. */ - static compare(object1: Windows.Storage.Streams.Buffer, object2: Windows.Storage.Streams.Buffer): boolean; + static compare(object1: Windows.Storage.Streams.IBuffer, object2: Windows.Storage.Streams.IBuffer): boolean; /** * Converts a buffer to an encoded string. * @param encoding Encoding format. * @param buffer Data to be encoded. * @return A string that contains the encoded data. */ - static convertBinaryToString(encoding: Windows.Security.Cryptography.BinaryStringEncoding, buffer: Windows.Storage.Streams.Buffer): string; + static convertBinaryToString(encoding: Windows.Security.Cryptography.BinaryStringEncoding, buffer: Windows.Storage.Streams.IBuffer): string; /** * Converts a string to an encoded buffer. * @param value String to be encoded. * @param encoding Encoding format. * @return Encoded buffer. */ - static convertStringToBinary(value: string, encoding: Windows.Security.Cryptography.BinaryStringEncoding): Windows.Storage.Streams.Buffer; + static convertStringToBinary(value: string, encoding: Windows.Security.Cryptography.BinaryStringEncoding): Windows.Storage.Streams.IBuffer; /** * Copies a buffer to an array of bytes. * @param buffer Input buffer. * @return An array of bytes that contains the values copied from the input buffer. You must declare the array before calling this method and pass it by using the ref keyword. If the buffer for the input parameter is empty, then the value parameter will be returned as NULL. */ - static copyToByteArray(buffer: Windows.Storage.Streams.Buffer): number[]; + static copyToByteArray(buffer: Windows.Storage.Streams.IBuffer): number[]; /** * Creates a buffer from an input byte array. * @param value An array of bytes used to create the buffer. * @return Output buffer. */ - static createFromByteArray(value: number[]): Windows.Storage.Streams.Buffer; + static createFromByteArray(value: number[]): Windows.Storage.Streams.IBuffer; /** * Decodes a string that has been base64 encoded. * @param value Base64 encoded input string. * @return Output buffer that contains the decoded string. */ - static decodeFromBase64String(value: string): Windows.Storage.Streams.Buffer; + static decodeFromBase64String(value: string): Windows.Storage.Streams.IBuffer; /** * Decodes a string that has been hexadecimal encoded. * @param value Encoded input string. * @return Output buffer that contains the decoded string. */ - static decodeFromHexString(value: string): Windows.Storage.Streams.Buffer; + static decodeFromHexString(value: string): Windows.Storage.Streams.IBuffer; /** * Encodes a buffer to a base64 string. * @param buffer Input buffer. * @return Base64-encoded output string. */ - static encodeToBase64String(buffer: Windows.Storage.Streams.Buffer): string; + static encodeToBase64String(buffer: Windows.Storage.Streams.IBuffer): string; /** * Encodes a buffer to a hexadecimal string. * @param buffer Input buffer. * @return Hexadecimal encoded output string. */ - static encodeToHexString(buffer: Windows.Storage.Streams.Buffer): string; + static encodeToHexString(buffer: Windows.Storage.Streams.IBuffer): string; /** * Creates a buffer that contains random data. * @param length Length, in bytes, of the buffer to create. * @return Output buffer that contains the random data. */ - static generateRandom(length: number): Windows.Storage.Streams.Buffer; + static generateRandom(length: number): Windows.Storage.Streams.IBuffer; /** * Creates a random number. * @return Integer that contains the random data. @@ -48212,7 +48212,7 @@ declare namespace Windows { * @param data Data to protect. * @return Represents an asynchronous operation. */ - protectAsync(data: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncOperation; + protectAsync(data: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Asynchronously protects a data stream. * @param src Stream to be protected. @@ -48225,7 +48225,7 @@ declare namespace Windows { * @param data Data to decrypt. * @return Represents an asynchronous operation. */ - unprotectAsync(data: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncOperation; + unprotectAsync(data: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Asynchronously decrypts a data stream. * @param src Stream to decrypt. @@ -48241,7 +48241,7 @@ declare namespace Windows { /** Contains information about the result from protecting or unprotecting an enterprise protected buffer. */ abstract class BufferProtectUnprotectResult { /** Gets the enterprise protected buffer that has been protected or unprotected. */ - buffer: Windows.Storage.Streams.Buffer; + buffer: Windows.Storage.Streams.IBuffer; /** Gets the DataProtectionInfo object concerning the enterprise protected buffer that has been protected or unprotected. */ protectionInfo: Windows.Security.EnterpriseData.DataProtectionInfo; } @@ -48259,7 +48259,7 @@ declare namespace Windows { * @param protectedData The buffer for which protection status is being queried. * @return When the call to this method completes successfully, it returns a DataProtectionInfo object that contains the status of the buffer. */ - static getProtectionInfoAsync(protectedData: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncOperation; + static getProtectionInfoAsync(protectedData: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Get the status of an enterprise protected stream. * @param protectedStream The stream for which protection status is being queried. @@ -48272,7 +48272,7 @@ declare namespace Windows { * @param identity The enterprise identity. This is an email address or domain that is managed. Your app should use IsIdentityManaged to confirm that an email address or domain is managed. * @return When the call to this method completes successfully, it returns a BufferProtectUnprotectResult object that contains the status of the newly protected buffer. */ - static protectAsync(data: Windows.Storage.Streams.Buffer, identity: string): Windows.Foundation.IPromiseWithIAsyncOperation; + static protectAsync(data: Windows.Storage.Streams.IBuffer, identity: string): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Protect a stream of data to an enterprise identity. * @param unprotectedStream The input, unprotected stream. @@ -48286,7 +48286,7 @@ declare namespace Windows { * @param data The buffer to be unprotected. * @return When the call to this method completes successfully, it returns a BufferProtectUnprotectResult object that contains the status of the unprotected buffer. */ - static unprotectAsync(data: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncOperation; + static unprotectAsync(data: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Removes the protection to an enterprise identity from a stream of data. * @param protectedStream The input, protected stream. @@ -48347,7 +48347,7 @@ declare namespace Windows { * @param collisionOption A CreationCollisionOption value that specifies what to do if desiredName already exists. * @return When the call to this method completes successfully, it returns a ProtectedFileCreateResult object representing the newly created protected file. */ - static createProtectedAndOpenAsync(parentFolder: Windows.Storage.StorageFolder, desiredName: string, identity: string, collisionOption: Windows.Storage.CreationCollisionOption): Windows.Foundation.IPromiseWithIAsyncOperation; + static createProtectedAndOpenAsync(parentFolder: Windows.Storage.IStorageFolder, desiredName: string, identity: string, collisionOption: Windows.Storage.CreationCollisionOption): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Get the status of an enterprise-protected file. * @param source The file or folder for which protection status is being queried. @@ -48360,14 +48360,14 @@ declare namespace Windows { * @param containerFile The enterprise protected file to be created and loaded. * @return When the call to this method completes successfully, it returns a ProtectedContainerImportResult object representing the newly created protected file. */ - static loadFileFromContainerAsync(containerFile: Windows.Storage.StorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; + static loadFileFromContainerAsync(containerFile: Windows.Storage.IStorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Create an enterprise-protected file in a specified storage item (such as a folder), and load it from a container file. * @param containerFile The enterprise protected file to be created and loaded. * @param target The storage item into which to create the enterprise protected file. * @return When the call to this method completes successfully, it returns a ProtectedContainerImportResult object representing the newly created protected file. */ - static loadFileFromContainerAsync(containerFile: Windows.Storage.StorageFile, target: Windows.Storage.IStorageItem): Windows.Foundation.IPromiseWithIAsyncOperation; + static loadFileFromContainerAsync(containerFile: Windows.Storage.IStorageFile, target: Windows.Storage.IStorageItem): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Create an enterprise-protected file in a specified storage item (such as a folder), and load it from a container file. * @param containerFile The enterprise protected file to be created and loaded. @@ -48375,7 +48375,7 @@ declare namespace Windows { * @param collisionOption The enum value that determines how Windows responds if the created file has the same name as an existing item in the container's location. * @return When the call to this method completes successfully, it returns a ProtectedContainerImportResult object representing the newly created protected file. */ - static loadFileFromContainerAsync(containerFile: Windows.Storage.StorageFile, target: Windows.Storage.IStorageItem, collisionOption: Windows.Storage.NameCollisionOption): Windows.Foundation.IPromiseWithIAsyncOperation; + static loadFileFromContainerAsync(containerFile: Windows.Storage.IStorageFile, target: Windows.Storage.IStorageItem, collisionOption: Windows.Storage.NameCollisionOption): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Protect the data in a file to an enterprise identity. The app can then use standard APIs to read or write from the file. * @param target The file to be protected. @@ -48388,14 +48388,14 @@ declare namespace Windows { * @param protectedFile The protected source file being copied. * @return When the call to this method completes successfully, it returns a ProtectedContainerExportResult object representing the newly created container file. */ - static saveFileAsContainerAsync(protectedFile: Windows.Storage.StorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; + static saveFileAsContainerAsync(protectedFile: Windows.Storage.IStorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Save an enterprise-protected file as a containerized version, and share it with a specified list of user identities. * @param protectedFile The protected source file being copied. * @param sharedWithIdentities A collection of strings representing the user identities to share the containerized file with. For example, email recipients. * @return When the call to this method completes successfully, it returns a ProtectedContainerExportResult object representing the newly created container file. */ - static saveFileAsContainerAsync(protectedFile: Windows.Storage.StorageFile, sharedWithIdentities: Windows.Foundation.Collections.IIterable): Windows.Foundation.IPromiseWithIAsyncOperation; + static saveFileAsContainerAsync(protectedFile: Windows.Storage.IStorageFile, sharedWithIdentities: Windows.Foundation.Collections.IIterable): Windows.Foundation.IPromiseWithIAsyncOperation; } /** Describes the enterprise protection state of a file or folder. */ enum FileProtectionStatus { @@ -48493,7 +48493,7 @@ declare namespace Windows { /** Information about the enterprise protected file. */ protectionInfo: Windows.Security.EnterpriseData.FileProtectionInfo; /** The stream random access to the newly created enterprise protected file. */ - stream: Windows.Storage.Streams.RandomAccessStream; + stream: Windows.Storage.Streams.IRandomAccessStream; } /** Possible status values for an enterprise protected file that has been imported from or exported to a container file. */ enum ProtectedImportExportStatus { @@ -49365,7 +49365,7 @@ declare namespace Windows { /** Gets the name of the current settings container. */ name: string; /** Gets an object that represents the settings in this settings container. */ - values: Windows.Foundation.Collections.PropertySet; + values: Windows.Foundation.Collections.IPropertySet; } /** Provides access to the settings in a settings container. The ApplicationDataContainer.Values property returns an object that can be cast to this type. */ abstract class ApplicationDataContainerSettings { @@ -49453,14 +49453,14 @@ declare namespace Windows { * @param fileToReplace The StorageFile to be replaced. * @return No object or value is returned when this method completes. */ - copyAndReplaceAsync(fileToReplace: Windows.Storage.StorageFile): Windows.Foundation.IPromiseWithIAsyncAction; + copyAndReplaceAsync(fileToReplace: Windows.Storage.IStorageFile): Windows.Foundation.IPromiseWithIAsyncAction; /** * Creates a copy of the StorageFile , gives it the specified file name, and stores it in the specified StorageFolder . * @param destinationFolder The folder in which to store the copied file. * @param desiredNewName The name of the new copy. * @return When this method completes successfully, it returns the copy as a StorageFile object. */ - copyAsync(destinationFolder: Windows.Storage.StorageFolder, desiredNewName: string): Windows.Foundation.IPromiseWithIAsyncOperation; + copyAsync(destinationFolder: Windows.Storage.IStorageFolder, desiredNewName: string): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Creates a copy of the StorageFile , gives it the specified file name, and stores it in the specified StorageFolder . The method also specifies what to do if a file with the same name already exists in the specified folder. * @param destinationFolder The folder in which to store the copied file. @@ -49468,13 +49468,13 @@ declare namespace Windows { * @param option A value that indicates what to do if the file name already exists in the destination folder. * @return When this method completes successfully, it returns the copy as a StorageFile object. */ - copyAsync(destinationFolder: Windows.Storage.StorageFolder, desiredNewName: string, option: Windows.Storage.NameCollisionOption): Windows.Foundation.IPromiseWithIAsyncOperation; + copyAsync(destinationFolder: Windows.Storage.IStorageFolder, desiredNewName: string, option: Windows.Storage.NameCollisionOption): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Creates a copy of the StorageFile and stores it in the specified StorageFolder . * @param destinationFolder The folder in which to store the copied file. * @return When this method completes successfully, it returns the copy as a StorageFile object. */ - copyAsync(destinationFolder: Windows.Storage.StorageFolder): Windows.Foundation.IPromiseWithIAsyncOperation; + copyAsync(destinationFolder: Windows.Storage.IStorageFolder): Windows.Foundation.IPromiseWithIAsyncOperation; /** Gets the date that the file was created. */ dateCreated: Date; /** @@ -49550,13 +49550,13 @@ declare namespace Windows { * @param fileToReplace The StorageFile to be replaced. * @return An object for managing the asynchronous move and replace operation. */ - moveAndReplaceAsync(fileToReplace: Windows.Storage.StorageFile): Windows.Foundation.IPromiseWithIAsyncAction; + moveAndReplaceAsync(fileToReplace: Windows.Storage.IStorageFile): Windows.Foundation.IPromiseWithIAsyncAction; /** * Moves the StorageFile to the specified StorageFolder . * @param destinationFolder The destination folder. * @return No object or value is returned when this method completes. */ - moveAsync(destinationFolder: Windows.Storage.StorageFolder): Windows.Foundation.IPromiseWithIAsyncAction; + moveAsync(destinationFolder: Windows.Storage.IStorageFolder): Windows.Foundation.IPromiseWithIAsyncAction; /** * Moves the StorageFile to the specified folder and gives it the specified file name. The method also specifies what to do if a file with the same name already exists in the specified folder. * @param destinationFolder The destination folder. @@ -49564,14 +49564,14 @@ declare namespace Windows { * @param option A value that indicates what to do if the file name already exists in the destination folder. * @return No object or value is returned when this method completes. */ - moveAsync(destinationFolder: Windows.Storage.StorageFolder, desiredNewName: string, option: Windows.Storage.NameCollisionOption): Windows.Foundation.IPromiseWithIAsyncAction; + moveAsync(destinationFolder: Windows.Storage.IStorageFolder, desiredNewName: string, option: Windows.Storage.NameCollisionOption): Windows.Foundation.IPromiseWithIAsyncAction; /** * Moves the StorageFile to the specified folder, and gives the file the specified file name. * @param destinationFolder The destination folder. * @param desiredNewName The new file name. * @return No object or value is returned when this method completes. */ - moveAsync(destinationFolder: Windows.Storage.StorageFolder, desiredNewName: string): Windows.Foundation.IPromiseWithIAsyncAction; + moveAsync(destinationFolder: Windows.Storage.IStorageFolder, desiredNewName: string): Windows.Foundation.IPromiseWithIAsyncAction; /** Gets the music properties associated with the StorageFile , such as the album name, artist name, bit rate, and so on. */ musicProperties: Windows.Storage.FileProperties.MusicProperties; /** Gets the name of the StorageFile . */ @@ -49589,14 +49589,14 @@ declare namespace Windows { * @param accessMode One of the enumeration values that specifies the type of access to allow. * @return When this method completes, it returns an IRandomAccessStream that contains the requested random-access stream. */ - openAsync(accessMode: Windows.Storage.FileAccessMode): Windows.Foundation.IPromiseWithIAsyncOperation; + openAsync(accessMode: Windows.Storage.FileAccessMode): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Opens a random-access stream with the specified options over the specified file. * @param accessMode One of the enumeration values that specifies the type of access to allow. * @param options A bitwise combination of the enumeration values that specify options for opening the stream. * @return When this method completes, it returns an IRandomAccessStream that contains the requested random-access stream. */ - openAsync(accessMode: Windows.Storage.FileAccessMode, options: Windows.Storage.StorageOpenOptions): Windows.Foundation.IPromiseWithIAsyncOperation; + openAsync(accessMode: Windows.Storage.FileAccessMode, options: Windows.Storage.StorageOpenOptions): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Opens a read-only, random-access stream over the StorageFile . * @return When this method completes successfully, it returns a read-only, random-access stream (type IRandomAccessStreamWithContentType ). @@ -50029,12 +50029,12 @@ declare namespace Windows { * @param file The file to update. * @return When this method completes, it returns a FileUpdateStatus enum value that describes the status of the updates to the file. */ - static completeUpdatesAsync(file: Windows.Storage.StorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; + static completeUpdatesAsync(file: Windows.Storage.IStorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Lets apps defer real-time updates for a specified file. * @param file The file to defer updates for. */ - static deferUpdates(file: Windows.Storage.StorageFile): void; + static deferUpdates(file: Windows.Storage.IStorageFile): void; } /** Provides a unified interface to the compression features included in Windows that frees developers from responsibility for managing block sizes, compression parameters, and other details that the native compression API requires. */ namespace Compression { @@ -50089,7 +50089,7 @@ declare namespace Windows { * @param buffer The buffer that contains the information to be written to the stream. * @return The asynchronous operation. */ - writeAsync(buffer: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + writeAsync(buffer: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; } /** A decompressor takes a stream compressed by a compressor and decompresses it. */ class Decompressor { @@ -50112,7 +50112,7 @@ declare namespace Windows { * @param options Read options * @return The asynchronous operation. */ - readAsync(buffer: Windows.Storage.Streams.Buffer, count: number, options: Windows.Storage.Streams.InputStreamOptions): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + readAsync(buffer: Windows.Storage.Streams.IBuffer, count: number, options: Windows.Storage.Streams.InputStreamOptions): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; } } /** Specifies what to do if a file or folder with the specified name already exists in the current folder when you create a new file or folder. */ @@ -50215,7 +50215,7 @@ declare namespace Windows { * @param lines The list of text strings to append as lines. * @return No object or value is returned when this method completes. */ - static appendLinesAsync(file: Windows.Storage.StorageFile, lines: Windows.Foundation.Collections.IIterable): Windows.Foundation.IPromiseWithIAsyncAction; + static appendLinesAsync(file: Windows.Storage.IStorageFile, lines: Windows.Foundation.Collections.IIterable): Windows.Foundation.IPromiseWithIAsyncAction; /** * Appends lines of text to the specified file using the specified character encoding. * @param file The file that the lines are appended to. @@ -50223,14 +50223,14 @@ declare namespace Windows { * @param encoding The character encoding of the file. * @return No object or value is returned when this method completes. */ - static appendLinesAsync(file: Windows.Storage.StorageFile, lines: Windows.Foundation.Collections.IIterable, encoding: Windows.Storage.Streams.UnicodeEncoding): Windows.Foundation.IPromiseWithIAsyncAction; + static appendLinesAsync(file: Windows.Storage.IStorageFile, lines: Windows.Foundation.Collections.IIterable, encoding: Windows.Storage.Streams.UnicodeEncoding): Windows.Foundation.IPromiseWithIAsyncAction; /** * Appends text to the specified file. * @param file The file that the text is appended to. * @param contents The text to append. * @return No object or value is returned when this method completes. */ - static appendTextAsync(file: Windows.Storage.StorageFile, contents: string): Windows.Foundation.IPromiseWithIAsyncAction; + static appendTextAsync(file: Windows.Storage.IStorageFile, contents: string): Windows.Foundation.IPromiseWithIAsyncAction; /** * Appends text to the specified file using the specified character encoding. * @param file The file that the text is appended to. @@ -50238,60 +50238,60 @@ declare namespace Windows { * @param encoding The character encoding of the file. * @return No object or value is returned when this method completes. */ - static appendTextAsync(file: Windows.Storage.StorageFile, contents: string, encoding: Windows.Storage.Streams.UnicodeEncoding): Windows.Foundation.IPromiseWithIAsyncAction; + static appendTextAsync(file: Windows.Storage.IStorageFile, contents: string, encoding: Windows.Storage.Streams.UnicodeEncoding): Windows.Foundation.IPromiseWithIAsyncAction; /** * Reads the contents of the specified file and returns a buffer. * @param file The file to read. * @return When this method completes, it returns an object (type IBuffer ) that represents the contents of the file. */ - static readBufferAsync(file: Windows.Storage.StorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; + static readBufferAsync(file: Windows.Storage.IStorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Reads the contents of the specified file and returns lines of text. * @param file The file to read. * @return When this method completes successfully, it returns the contents of the file as a list (type IVector ) of lines of text. Each line of text in the list is represented by a String object. */ - static readLinesAsync(file: Windows.Storage.StorageFile): Windows.Foundation.IPromiseWithIAsyncOperation>; + static readLinesAsync(file: Windows.Storage.IStorageFile): Windows.Foundation.IPromiseWithIAsyncOperation>; /** * Reads the contents of the specified file using the specified character encoding and returns lines of text. * @param file The file to read. * @param encoding The character encoding to use. * @return When this method completes successfully, it returns the contents of the file as a list (type IVector ) of lines of text. Each line of text in the list is represented by a String object. */ - static readLinesAsync(file: Windows.Storage.StorageFile, encoding: Windows.Storage.Streams.UnicodeEncoding): Windows.Foundation.IPromiseWithIAsyncOperation>; + static readLinesAsync(file: Windows.Storage.IStorageFile, encoding: Windows.Storage.Streams.UnicodeEncoding): Windows.Foundation.IPromiseWithIAsyncOperation>; /** * Reads the contents of the specified file and returns text. * @param file The file to read. * @return When this method completes successfully, it returns the contents of the file as a text string. */ - static readTextAsync(file: Windows.Storage.StorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; + static readTextAsync(file: Windows.Storage.IStorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Reads the contents of the specified file using the specified character encoding and returns text. * @param file The file to read. * @param encoding The character encoding to use. * @return When this method completes successfully, it returns the contents of the file as a text string. */ - static readTextAsync(file: Windows.Storage.StorageFile, encoding: Windows.Storage.Streams.UnicodeEncoding): Windows.Foundation.IPromiseWithIAsyncOperation; + static readTextAsync(file: Windows.Storage.IStorageFile, encoding: Windows.Storage.Streams.UnicodeEncoding): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Writes data from a buffer to the specified file. * @param file The file that the buffer of data is written to. * @param buffer The buffer that contains the data to write. * @return No object or value is returned when this method completes. */ - static writeBufferAsync(file: Windows.Storage.StorageFile, buffer: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncAction; + static writeBufferAsync(file: Windows.Storage.IStorageFile, buffer: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncAction; /** * Writes an array of bytes of data to the specified file. * @param file The file that the byte is written to. * @param buffer The array of bytes to write. * @return No object or value is returned when this method completes. */ - static writeBytesAsync(file: Windows.Storage.StorageFile, buffer: number[]): Windows.Foundation.IPromiseWithIAsyncAction; + static writeBytesAsync(file: Windows.Storage.IStorageFile, buffer: number[]): Windows.Foundation.IPromiseWithIAsyncAction; /** * Writes lines of text to the specified file. * @param file The file that the lines are written to. * @param lines The list of text strings to write as lines. * @return No object or value is returned when this method completes. */ - static writeLinesAsync(file: Windows.Storage.StorageFile, lines: Windows.Foundation.Collections.IIterable): Windows.Foundation.IPromiseWithIAsyncAction; + static writeLinesAsync(file: Windows.Storage.IStorageFile, lines: Windows.Foundation.Collections.IIterable): Windows.Foundation.IPromiseWithIAsyncAction; /** * Writes lines of text to the specified file using the specified character encoding. * @param file The file that the lines are written to. @@ -50299,14 +50299,14 @@ declare namespace Windows { * @param encoding The character encoding of the file. * @return No object or value is returned when this method completes. */ - static writeLinesAsync(file: Windows.Storage.StorageFile, lines: Windows.Foundation.Collections.IIterable, encoding: Windows.Storage.Streams.UnicodeEncoding): Windows.Foundation.IPromiseWithIAsyncAction; + static writeLinesAsync(file: Windows.Storage.IStorageFile, lines: Windows.Foundation.Collections.IIterable, encoding: Windows.Storage.Streams.UnicodeEncoding): Windows.Foundation.IPromiseWithIAsyncAction; /** * Writes text to the specified file. * @param file The file that the text is written to. * @param contents The text to write. * @return No object or value is returned when this method completes. */ - static writeTextAsync(file: Windows.Storage.StorageFile, contents: string): Windows.Foundation.IPromiseWithIAsyncAction; + static writeTextAsync(file: Windows.Storage.IStorageFile, contents: string): Windows.Foundation.IPromiseWithIAsyncAction; /** * Writes text to the specified file using the specified character encoding. * @param file The file that the text is written to. @@ -50314,7 +50314,7 @@ declare namespace Windows { * @param encoding The character encoding of the file. * @return No object or value is returned when this method completes. */ - static writeTextAsync(file: Windows.Storage.StorageFile, contents: string, encoding: Windows.Storage.Streams.UnicodeEncoding): Windows.Foundation.IPromiseWithIAsyncAction; + static writeTextAsync(file: Windows.Storage.IStorageFile, contents: string, encoding: Windows.Storage.Streams.UnicodeEncoding): Windows.Foundation.IPromiseWithIAsyncAction; } /** Provides access to the properties of a file. */ namespace FileProperties { @@ -50379,21 +50379,21 @@ declare namespace Windows { * @param file The file from which the geographic metadata is retrieved. * @return An asynchronous operation that returns a Geopoint on successful completion. */ - static getGeotagAsync(file: Windows.Storage.StorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; + static getGeotagAsync(file: Windows.Storage.IStorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Asynchronously sets the geographic metadata of a file from the provided Geopoint . * @param file The file into which the geographic metadata is set. * @param geopoint The Geopoint representing the geographic metadata to be set. * @return An asynchronous action. */ - static setGeotagAsync(file: Windows.Storage.StorageFile, geopoint: Windows.Devices.Geolocation.Geopoint): Windows.Foundation.IPromiseWithIAsyncAction; + static setGeotagAsync(file: Windows.Storage.IStorageFile, geopoint: Windows.Devices.Geolocation.Geopoint): Windows.Foundation.IPromiseWithIAsyncAction; /** * Asynchronously sets the geographic metadata of a file to the device's current location using the provided Geolocator object. * @param file The file into which the geographic metadata is set. * @param geolocator The Geolocator object that will be used to determine the device's current location. * @return An asychronous action. */ - static setGeotagFromGeolocatorAsync(file: Windows.Storage.StorageFile, geolocator: Windows.Devices.Geolocation.Geolocator): Windows.Foundation.IPromiseWithIAsyncAction; + static setGeotagFromGeolocatorAsync(file: Windows.Storage.IStorageFile, geolocator: Windows.Devices.Geolocation.Geolocator): Windows.Foundation.IPromiseWithIAsyncAction; } /** Provides access to the image-related properties of an item (like a file or folder). */ abstract class ImageProperties { @@ -50577,7 +50577,7 @@ declare namespace Windows { * Creates a new stream over the thumbnail that is represented by the current storageItemThumbnail object. * @return The new thumbnail stream. The initial, internal position of the stream is 0. */ - cloneStream(): Windows.Storage.Streams.RandomAccessStream; + cloneStream(): Windows.Storage.Streams.IRandomAccessStream; /** Releases system resources that are exposed by a Windows Runtime object. */ close(): void; /** Gets the MIME content type of the thumbnail image. */ @@ -50612,7 +50612,7 @@ declare namespace Windows { * @param options Specifies the type of the asynchronous read operation. * @return The asynchronous operation. */ - readAsync(buffer: Windows.Storage.Streams.Buffer, count: number, options: Windows.Storage.Streams.InputStreamOptions): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + readAsync(buffer: Windows.Storage.Streams.IBuffer, count: number, options: Windows.Storage.Streams.InputStreamOptions): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; /** Gets a value that indicates whether the thumbnail image returned was a cached version with a smaller size. */ returnedSmallerCachedSize: boolean; /** @@ -50629,7 +50629,7 @@ declare namespace Windows { * @param buffer The buffer into which the asynchronous writer operation writes. * @return The byte writer operation. */ - writeAsync(buffer: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + writeAsync(buffer: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; } /** Describes the purpose of the thumbnail to determine how to adjust the thumbnail image to retrieve. */ enum ThumbnailMode { @@ -50851,7 +50851,7 @@ declare namespace Windows { * @param absolutePath The path of the file to read. * @return When this method completes, it returns an object (type IBuffer ) that represents the contents of the file. */ - static readBufferAsync(absolutePath: string): Windows.Foundation.IPromiseWithIAsyncOperation; + static readBufferAsync(absolutePath: string): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Reads the contents of the file at the specified path or URI and returns lines of text. * @param absolutePath The path of the file to read. @@ -50884,7 +50884,7 @@ declare namespace Windows { * @param buffer The buffer that contains the data to write. * @return No object or value is returned when this method completes. */ - static writeBufferAsync(absolutePath: string, buffer: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncAction; + static writeBufferAsync(absolutePath: string, buffer: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncAction; /** * Writes a single byte of data to the file at the specified path or URI. * @param absolutePath The path of the file that the byte is written to. @@ -51205,7 +51205,7 @@ declare namespace Windows { * @param file The file to add to the list of files that the user has chosen. * @return The enumeration value that indicates the result of this addFile method. */ - addFile(id: string, file: Windows.Storage.StorageFile): Windows.Storage.Pickers.Provider.AddFileResult; + addFile(id: string, file: Windows.Storage.IStorageFile): Windows.Storage.Pickers.Provider.AddFileResult; /** Gets a list of file types (extensions) that the user can choose. */ allowedFileTypes: Windows.Foundation.Collections.IVectorView; /** @@ -51213,7 +51213,7 @@ declare namespace Windows { * @param file The file to test. * @return True if the file can be added to the file picker UI; otherwise false. */ - canAddFile(file: Windows.Storage.StorageFile): boolean; + canAddFile(file: Windows.Storage.IStorageFile): boolean; /** * Determines whether the specified file is in the list of files that the user has chosen. * @param id The identifier of the file. @@ -51320,7 +51320,7 @@ declare namespace Windows { */ getDeferral(): Windows.Storage.Pickers.Provider.TargetFileRequestDeferral; /** Gets or sets the IStorageFile object that is provided to represent the file to save by the app that is providing the save location. */ - targetFile: Windows.Storage.StorageFile; + targetFile: Windows.Storage.IStorageFile; } /** Used by an app that provides a save location to indicate asynchronously that the app is finished responding to a targetfilerequested event. */ abstract class TargetFileRequestDeferral { @@ -51364,7 +51364,7 @@ declare namespace Windows { * @param writeMode A value that specifies whether other apps can write to the local file and, if so, whether Windows will request updates after the local file is written. * @param options A value that specifies additional circumstances and behaviors for when Windows requests updates. */ - static setUpdateInformation(file: Windows.Storage.StorageFile, contentId: string, readMode: Windows.Storage.Provider.ReadActivationMode, writeMode: Windows.Storage.Provider.WriteActivationMode, options: Windows.Storage.Provider.CachedFileOptions): void; + static setUpdateInformation(file: Windows.Storage.IStorageFile, contentId: string, readMode: Windows.Storage.Provider.ReadActivationMode, writeMode: Windows.Storage.Provider.WriteActivationMode, options: Windows.Storage.Provider.CachedFileOptions): void; } /** Used to interact with the file picker if your app provides file updates through the Cached File Updater contract. */ abstract class CachedFileUpdaterUI { @@ -51409,7 +51409,7 @@ declare namespace Windows { * Provide a new version of the local file to represent the remote file. * @param value The new version of the local file that will represent remote file. */ - updateLocalFile(value: Windows.Storage.StorageFile): void; + updateLocalFile(value: Windows.Storage.IStorageFile): void; /** Gets or sets a message to the user indicating that user input is needed to complete the FileUpdateRequest . */ userInputNeededMessage: string; } @@ -51530,7 +51530,7 @@ declare namespace Windows { * @param indexableContent The content properties to index. * @return */ - addAsync(indexableContent: Windows.Storage.Search.IndexableContent): any; /* unmapped return type */ + addAsync(indexableContent: Windows.Storage.Search.IIndexableContent): any; /* unmapped return type */ /** * Builds a query with the specified search filter, sort order, and identifies which properties to retrieve. * @param searchFilter The AQS filter. @@ -51586,7 +51586,7 @@ declare namespace Windows { * @param indexableContent The content properties to update. * @return */ - updateAsync(indexableContent: Windows.Storage.Search.IndexableContent): any; /* unmapped return type */ + updateAsync(indexableContent: Windows.Storage.Search.IIndexableContent): any; /* unmapped return type */ } /** Represents a query for content properties in the ContentIndexer . */ abstract class ContentIndexerQuery { @@ -51647,7 +51647,7 @@ declare namespace Windows { /** Gets the content properties. */ properties: Windows.Foundation.Collections.IMap; /** Gets or sets a Stream that provides full-text content. Changes to the actual representation of the item in the index can be made using the ContentIndexer class. */ - stream: Windows.Storage.Streams.RandomAccessStream; + stream: Windows.Storage.Streams.IRandomAccessStream; /** Specifies the type of content in the Stream . */ streamContentType: string; } @@ -51999,7 +51999,7 @@ declare namespace Windows { /** Gets the content properties. */ properties: Windows.Foundation.Collections.IMap; /** Gets or sets a stream that provides full-text content. Changes to the actual representation of the item in the index can be made using the ContentIndexer class. */ - stream: Windows.Storage.Streams.RandomAccessStream; + stream: Windows.Storage.Streams.IRandomAccessStream; /** Specifies the type of content in the Stream . */ streamContentType: string; } @@ -52044,7 +52044,7 @@ declare namespace Windows { * @param thumbnail The thumbnail image for the StorageFile to create. * @return When this method completes, it returns a StorageFile object that represents the new stream of data. */ - static createStreamedFileAsync(displayNameWithExtension: string, dataRequested: Windows.Storage.StreamedFileDataRequestedHandler, thumbnail: Windows.Storage.Streams.RandomAccessStreamReference): Windows.Foundation.IPromiseWithIAsyncOperation; + static createStreamedFileAsync(displayNameWithExtension: string, dataRequested: Windows.Storage.StreamedFileDataRequestedHandler, thumbnail: Windows.Storage.Streams.IRandomAccessStreamReference): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Creates a StorageFile to represent a stream of data from the specified URI resource. This method lets the app download the data on-demand when the StorageFile that represents the stream is first accessed. * @param displayNameWithExtension The user-friendly name of the StorageFile to create, including a file type extension. @@ -52052,7 +52052,7 @@ declare namespace Windows { * @param thumbnail The thumbnail image for the StorageFile to create. * @return When this method completes, it returns a StorageFile object that represents the URI resource. */ - static createStreamedFileFromUriAsync(displayNameWithExtension: string, uri: Windows.Foundation.Uri, thumbnail: Windows.Storage.Streams.RandomAccessStreamReference): Windows.Foundation.IPromiseWithIAsyncOperation; + static createStreamedFileFromUriAsync(displayNameWithExtension: string, uri: Windows.Foundation.Uri, thumbnail: Windows.Storage.Streams.IRandomAccessStreamReference): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Gets a StorageFile object to represent the specified URI app resource. For examples of sample URIs see How to load file resources. * @param uri The URI of the app resource to get a StorageFile to represent. @@ -52072,7 +52072,7 @@ declare namespace Windows { * @param thumbnail The thumbnail image for the StorageFile to create. * @return When this method completes, it returns a StorageFile object that represents the new data stream. Subsequently, this StorageFile object should be used to access file content instead of the file (type IStorageFile ) that was specified to be replace. */ - static replaceWithStreamedFileAsync(fileToReplace: Windows.Storage.StorageFile, dataRequested: Windows.Storage.StreamedFileDataRequestedHandler, thumbnail: Windows.Storage.Streams.RandomAccessStreamReference): Windows.Foundation.IPromiseWithIAsyncOperation; + static replaceWithStreamedFileAsync(fileToReplace: Windows.Storage.IStorageFile, dataRequested: Windows.Storage.StreamedFileDataRequestedHandler, thumbnail: Windows.Storage.Streams.IRandomAccessStreamReference): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Replaces the contents of the file referred to by the specified IStorageFile object with a new data stream of the specified URI. This method lets the app download the data on-demand when the StorageFile that represents the stream is first accessed. * @param fileToReplace The file that the created StorageFile will provide a stream of. @@ -52080,7 +52080,7 @@ declare namespace Windows { * @param thumbnail The thumbnail image for the StorageFile to create. * @return When this method completes, it returns a StorageFile object that represents the streamed file. Subsequently, this StorageFile object should be used to access file content instead of the file (type IStorageFile ) that was specified to be replace. */ - static replaceWithStreamedFileFromUriAsync(fileToReplace: Windows.Storage.StorageFile, uri: Windows.Foundation.Uri, thumbnail: Windows.Storage.Streams.RandomAccessStreamReference): Windows.Foundation.IPromiseWithIAsyncOperation; + static replaceWithStreamedFileFromUriAsync(fileToReplace: Windows.Storage.IStorageFile, uri: Windows.Foundation.Uri, thumbnail: Windows.Storage.Streams.IRandomAccessStreamReference): Windows.Foundation.IPromiseWithIAsyncOperation; /** Gets the attributes of a file. */ attributes: Windows.Storage.FileAttributes; /** Gets the MIME type of the contents of the file. */ @@ -52090,7 +52090,7 @@ declare namespace Windows { * @param fileToReplace The file to replace. * @return No object or value is returned when this method completes. */ - copyAndReplaceAsync(fileToReplace: Windows.Storage.StorageFile): Windows.Foundation.IPromiseWithIAsyncAction; + copyAndReplaceAsync(fileToReplace: Windows.Storage.IStorageFile): Windows.Foundation.IPromiseWithIAsyncAction; /** * Creates a copy of the file in the specified folder and renames the copy. This method also specifies what to do if a file with the same name already exists in the destination folder. * @param destinationFolder The destination folder where the copy of the file is created. @@ -52098,20 +52098,20 @@ declare namespace Windows { * @param option One of the enumeration values that determines how to handle the collision if a file with the specified desiredNewName already exists in the destination folder. * @return When this method completes, it returns a StorageFile that represents the copy of the file created in the destinationFolder. */ - copyAsync(destinationFolder: Windows.Storage.StorageFolder, desiredNewName: string, option: Windows.Storage.NameCollisionOption): Windows.Foundation.IPromiseWithIAsyncOperation; + copyAsync(destinationFolder: Windows.Storage.IStorageFolder, desiredNewName: string, option: Windows.Storage.NameCollisionOption): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Creates a copy of the file in the specified folder and renames the copy. * @param destinationFolder The destination folder where the copy of the file is created. * @param desiredNewName The new name for the copy of the file created in the destinationFolder. * @return When this method completes, it returns a StorageFile that represents the copy of the file created in the destinationFolder. */ - copyAsync(destinationFolder: Windows.Storage.StorageFolder, desiredNewName: string): Windows.Foundation.IPromiseWithIAsyncOperation; + copyAsync(destinationFolder: Windows.Storage.IStorageFolder, desiredNewName: string): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Creates a copy of the file in the specified folder. * @param destinationFolder The destination folder where the copy of the file is created. * @return When this method completes, it returns a StorageFile that represents the copy of the file created in the destinationFolder. */ - copyAsync(destinationFolder: Windows.Storage.StorageFolder): Windows.Foundation.IPromiseWithIAsyncOperation; + copyAsync(destinationFolder: Windows.Storage.IStorageFolder): Windows.Foundation.IPromiseWithIAsyncOperation; /** Gets the date and time when the current file was created. */ dateCreated: Date; /** @@ -52204,20 +52204,20 @@ declare namespace Windows { * @param fileToReplace The file to replace. * @return No object or value is returned by this method. */ - moveAndReplaceAsync(fileToReplace: Windows.Storage.StorageFile): Windows.Foundation.IPromiseWithIAsyncAction; + moveAndReplaceAsync(fileToReplace: Windows.Storage.IStorageFile): Windows.Foundation.IPromiseWithIAsyncAction; /** * Moves the current file to the specified folder. * @param destinationFolder The destination folder where the file is moved. * @return No object or value is returned by this method. */ - moveAsync(destinationFolder: Windows.Storage.StorageFolder): Windows.Foundation.IPromiseWithIAsyncAction; + moveAsync(destinationFolder: Windows.Storage.IStorageFolder): Windows.Foundation.IPromiseWithIAsyncAction; /** * Moves the current file to the specified folder and renames the file according to the desired name. * @param destinationFolder The destination folder where the file is moved. * @param desiredNewName The desired name of the file after it is moved. * @return No object or value is returned by this method. */ - moveAsync(destinationFolder: Windows.Storage.StorageFolder, desiredNewName: string): Windows.Foundation.IPromiseWithIAsyncAction; + moveAsync(destinationFolder: Windows.Storage.IStorageFolder, desiredNewName: string): Windows.Foundation.IPromiseWithIAsyncAction; /** * Moves the current file to the specified folder and renames the file according to the desired name. This method also specifies what to do if a file with the same name already exists in the specified folder. * @param destinationFolder The destination folder where the file is moved. @@ -52225,7 +52225,7 @@ declare namespace Windows { * @param option An enum value that determines how Windows responds if the desiredNewName is the same as the name of an existing file in the destination folder. * @return No object or value is returned by this method. */ - moveAsync(destinationFolder: Windows.Storage.StorageFolder, desiredNewName: string, option: Windows.Storage.NameCollisionOption): Windows.Foundation.IPromiseWithIAsyncAction; + moveAsync(destinationFolder: Windows.Storage.IStorageFolder, desiredNewName: string, option: Windows.Storage.NameCollisionOption): Windows.Foundation.IPromiseWithIAsyncAction; /** Gets the name of the file including the file name extension. */ name: string; /** @@ -52233,14 +52233,14 @@ declare namespace Windows { * @param accessMode One of the enumeration values that specifies the type of access to allow. * @return When this method completes, it returns an IRandomAccessStream that contains the requested random-access stream. */ - openAsync(accessMode: Windows.Storage.FileAccessMode): Windows.Foundation.IPromiseWithIAsyncOperation; + openAsync(accessMode: Windows.Storage.FileAccessMode): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Opens a random-access stream with the specified options over the specified file. * @param accessMode One of the enumeration values that specifies the type of access to allow. * @param options A bitwise combination of the enumeration values that specify options for opening the stream. * @return When this method completes, it returns an IRandomAccessStream that contains the requested random-access stream. */ - openAsync(accessMode: Windows.Storage.FileAccessMode, options: Windows.Storage.StorageOpenOptions): Windows.Foundation.IPromiseWithIAsyncOperation; + openAsync(accessMode: Windows.Storage.FileAccessMode, options: Windows.Storage.StorageOpenOptions): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Opens a random-access stream over the current file for reading file contents. * @return When this method completes, it returns the random-access stream (type IRandomAccessStreamWithContentType ). @@ -52635,7 +52635,7 @@ declare namespace Windows { */ commitAsync(): Windows.Foundation.IPromiseWithIAsyncAction; /** Gets the random-access stream used in the transaction. */ - stream: Windows.Storage.Streams.RandomAccessStream; + stream: Windows.Storage.Streams.IRandomAccessStream; } /** Represents a sequential-access output stream that indicates a request for the data stream of a StorageFile that was created by calling CreateStreamedFileAsync or ReplaceWithStreamedFileAsync . */ abstract class StreamedFileDataRequest { @@ -52656,7 +52656,7 @@ declare namespace Windows { * @param buffer The buffer that contains the data to write. * @return When this method completes, it returns the number of bytes (type UInt32 ) that were written to the stream. If the app specifies a function to monitor progress, that function receives the number of bytes (type UInt32) written so far. */ - writeAsync(buffer: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + writeAsync(buffer: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; } /** Indicates the reason that data could not be streamed. */ enum StreamedFileFailureMode { @@ -52676,13 +52676,13 @@ declare namespace Windows { * @param input The buffer to be copied. * @return The newly created copy. */ - static createCopyFromMemoryBuffer(input: Windows.Foundation.MemoryBuffer): Windows.Storage.Streams.Buffer; + static createCopyFromMemoryBuffer(input: Windows.Foundation.IMemoryBuffer): Windows.Storage.Streams.Buffer; /** * Creates a MemoryBuffer from an existing IBuffer . * @param input The input IBuffer . * @return The newly created MemoryBuffer . */ - static createMemoryBufferOverIBuffer(input: Windows.Storage.Streams.Buffer): Windows.Foundation.MemoryBuffer; + static createMemoryBufferOverIBuffer(input: Windows.Storage.Streams.IBuffer): Windows.Foundation.MemoryBuffer; /** * Initializes a new instance of the Buffer class with the specified capacity. * @param capacity The maximum number of bytes that the buffer can hold. @@ -52708,7 +52708,7 @@ declare namespace Windows { * @param buffer The buffer. * @return The data reader. */ - static fromBuffer(buffer: Windows.Storage.Streams.Buffer): Windows.Storage.Streams.DataReader; + static fromBuffer(buffer: Windows.Storage.Streams.IBuffer): Windows.Storage.Streams.DataReader; /** * Creates and initializes a new instance of the data reader. * @param inputStream The input stream. @@ -52722,7 +52722,7 @@ declare namespace Windows { * Detaches the buffer that is associated with the data reader. * @return The detached buffer. */ - detachBuffer(): Windows.Storage.Streams.Buffer; + detachBuffer(): Windows.Storage.Streams.IBuffer; /** * Detaches the stream that is associated with the data reader. * @return The detached stream. @@ -52746,7 +52746,7 @@ declare namespace Windows { * @param length The length of the buffer, in bytes. * @return The buffer. */ - readBuffer(length: number): Windows.Storage.Streams.Buffer; + readBuffer(length: number): Windows.Storage.Streams.IBuffer; /** * Reads a byte value from the input stream. * @return The value. @@ -52860,7 +52860,7 @@ declare namespace Windows { * Detaches the buffer that is associated with the data writer. * @return The detached buffer. */ - detachBuffer(): Windows.Storage.Streams.Buffer; + detachBuffer(): Windows.Storage.Streams.IBuffer; /** * Detaches the stream that is associated with the data writer. * @return The detached stream. @@ -52897,12 +52897,12 @@ declare namespace Windows { * @param start The starting byte. * @param count The number of bytes to write. */ - writeBuffer(buffer: Windows.Storage.Streams.Buffer, start: number, count: number): void; + writeBuffer(buffer: Windows.Storage.Streams.IBuffer, start: number, count: number): void; /** * Writes the contents of the specified buffer to the output stream. * @param buffer The buffer. */ - writeBuffer(buffer: Windows.Storage.Streams.Buffer): void; + writeBuffer(buffer: Windows.Storage.Streams.IBuffer): void; /** * Writes a byte value to the output stream. * @param value The value. @@ -53006,7 +53006,7 @@ declare namespace Windows { * @param options Specifies the type of the asynchronous read operation. * @return The asynchronous operation. */ - readAsync(buffer: Windows.Storage.Streams.Buffer, count: number, options: Windows.Storage.Streams.InputStreamOptions): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + readAsync(buffer: Windows.Storage.Streams.IBuffer, count: number, options: Windows.Storage.Streams.InputStreamOptions): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; } /** Writes data to a file. */ abstract class FileOutputStream { @@ -53022,7 +53022,7 @@ declare namespace Windows { * @param buffer The buffer into which the asynchronous writer operation writes. * @return The byte writer operation. */ - writeAsync(buffer: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + writeAsync(buffer: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; } /** Supports reading and writing to a file at a specified position. */ abstract class FileRandomAccessStream { @@ -53034,7 +53034,7 @@ declare namespace Windows { * Creates a new instance of a IRandomAccessStream over the same resource as the current stream. * @return The new stream. The initial, internal position of the stream is 0. */ - cloneStream(): Windows.Storage.Streams.RandomAccessStream; + cloneStream(): Windows.Storage.Streams.IRandomAccessStream; /** Closes the current stream and releases system resources. */ close(): void; /** @@ -53063,7 +53063,7 @@ declare namespace Windows { * @param options Specifies the type of the asynchronous read operation. * @return The asynchronous operation. */ - readAsync(buffer: Windows.Storage.Streams.Buffer, count: number, options: Windows.Storage.Streams.InputStreamOptions): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + readAsync(buffer: Windows.Storage.Streams.IBuffer, count: number, options: Windows.Storage.Streams.InputStreamOptions): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; /** * Sets the position of the stream to the specified value. * @param position The new position of the stream. @@ -53076,7 +53076,7 @@ declare namespace Windows { * @param buffer The buffer into which the asynchronous writer operation writes. * @return The byte writer operation. */ - writeAsync(buffer: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + writeAsync(buffer: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; } /** Provides random access of data in input and output streams that are stored in memory instead of on disk. */ class InMemoryRandomAccessStream { @@ -53090,7 +53090,7 @@ declare namespace Windows { * Creates a new instance of a IRandomAccessStream over the same resource as the current stream. * @return The new stream. The initial, internal position of the stream is 0. */ - cloneStream(): Windows.Storage.Streams.RandomAccessStream; + cloneStream(): Windows.Storage.Streams.IRandomAccessStream; /** Closes the current stream and releases system resources. */ close(): void; /** @@ -53119,7 +53119,7 @@ declare namespace Windows { * @param options Specifies the type of the asynchronous read operation. * @return The asynchronous operation. */ - readAsync(buffer: Windows.Storage.Streams.Buffer, count: number, options: Windows.Storage.Streams.InputStreamOptions): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + readAsync(buffer: Windows.Storage.Streams.IBuffer, count: number, options: Windows.Storage.Streams.InputStreamOptions): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; /** * Sets the position of the stream to the specified value. * @param position The new position of the stream. @@ -53132,7 +53132,7 @@ declare namespace Windows { * @param buffer The buffer into which the asynchronous writer operation writes. * @return The byte writer operation. */ - writeAsync(buffer: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + writeAsync(buffer: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; } /** Specifies the read options for an input stream. */ enum InputStreamOptions { @@ -53154,7 +53154,7 @@ declare namespace Windows { * @param options Specifies the type of the asynchronous read operation. * @return The asynchronous operation. */ - readAsync(buffer: Windows.Storage.Streams.Buffer, count: number, options: Windows.Storage.Streams.InputStreamOptions): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + readAsync(buffer: Windows.Storage.Streams.IBuffer, count: number, options: Windows.Storage.Streams.InputStreamOptions): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; } /** Provides a Windows Runtime output stream for an IStream base implementation. */ abstract class OutputStreamOverStream { @@ -53170,7 +53170,7 @@ declare namespace Windows { * @param buffer The buffer into which the asynchronous writer operation writes. * @return The byte writer operation. */ - writeAsync(buffer: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + writeAsync(buffer: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; } /** Provides random access of data in input and output streams. */ abstract class RandomAccessStream { @@ -53207,7 +53207,7 @@ declare namespace Windows { * Creates a new instance of a IRandomAccessStream over the same resource as the current stream. * @return The new stream. The initial, internal position of the stream is 0. */ - cloneStream(): Windows.Storage.Streams.RandomAccessStream; + cloneStream(): Windows.Storage.Streams.IRandomAccessStream; /** Closes the current stream and releases system resources. */ close(): void; /** @@ -53236,7 +53236,7 @@ declare namespace Windows { * @param options Specifies the type of the asynchronous read operation. * @return The asynchronous operation. */ - readAsync(buffer: Windows.Storage.Streams.Buffer, count: number, options: Windows.Storage.Streams.InputStreamOptions): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + readAsync(buffer: Windows.Storage.Streams.IBuffer, count: number, options: Windows.Storage.Streams.InputStreamOptions): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; /** * Sets the position of the stream to the specified value. * @param position The new position of the stream. @@ -53249,7 +53249,7 @@ declare namespace Windows { * @param buffer The buffer into which the asynchronous writer operation writes. * @return The byte writer operation. */ - writeAsync(buffer: Windows.Storage.Streams.Buffer): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + writeAsync(buffer: Windows.Storage.Streams.IBuffer): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; } /** Provides random access of data in input and output streams for a file. */ abstract class RandomAccessStreamReference { @@ -53258,13 +53258,13 @@ declare namespace Windows { * @param file The file to create a stream around. * @return The stream that encapsulates file. */ - static createFromFile(file: Windows.Storage.StorageFile): Windows.Storage.Streams.RandomAccessStreamReference; + static createFromFile(file: Windows.Storage.IStorageFile): Windows.Storage.Streams.RandomAccessStreamReference; /** * Creates a random access stream around the specified stream. * @param stream The source stream. * @return The random access stream that encapsulates stream. */ - static createFromStream(stream: Windows.Storage.Streams.RandomAccessStream): Windows.Storage.Streams.RandomAccessStreamReference; + static createFromStream(stream: Windows.Storage.Streams.IRandomAccessStream): Windows.Storage.Streams.RandomAccessStreamReference; /** * Creates a random access stream around the specified URI. * @param uri The URI to create the stream around. The valid URI schemes are http, https, ms-appx, and ms-appdata. @@ -53295,14 +53295,14 @@ declare namespace Windows { openReadAsync(): Windows.Foundation.IAsyncOperation; } /** Supports random access of data in input and output streams for a specified data format. */ - interface IRandomAccessStreamWithContentType extends Windows.Storage.Streams.RandomAccessStream, Windows.Foundation.IClosable, Windows.Storage.Streams.IInputStream, Windows.Storage.Streams.IOutputStream, Windows.Storage.Streams.IContentTypeProvider {} + interface IRandomAccessStreamWithContentType extends Windows.Storage.Streams.IRandomAccessStream, Windows.Foundation.IClosable, Windows.Storage.Streams.IInputStream, Windows.Storage.Streams.IOutputStream, Windows.Storage.Streams.IContentTypeProvider {} /** Supports random access of data in input and output streams. */ interface IRandomAccessStream extends Windows.Foundation.IClosable, Windows.Storage.Streams.IInputStream, Windows.Storage.Streams.IOutputStream { /** * Creates a new instance of a IRandomAccessStream over the same resource as the current stream. * @return The new stream. The initial, internal position of the stream is 0. */ - cloneStream(): Windows.Storage.Streams.RandomAccessStream; + cloneStream(): Windows.Storage.Streams.IRandomAccessStream; /** * Returns an input stream at a specified location in a stream. * @param position The location in the stream at which to begin. @@ -53345,7 +53345,7 @@ declare namespace Windows { * @param options Specifies the type of the asynchronous read operation. * @return The asynchronous operation. */ - readAsync(buffer: Windows.Storage.Streams.Buffer, count: number, options: Windows.Storage.Streams.InputStreamOptions): Windows.Foundation.IAsyncOperationWithProgress; + readAsync(buffer: Windows.Storage.Streams.IBuffer, count: number, options: Windows.Storage.Streams.InputStreamOptions): Windows.Foundation.IAsyncOperationWithProgress; } /** Represents a sequential stream of bytes to be written. */ interface IOutputStream extends Windows.Foundation.IClosable { @@ -53359,7 +53359,7 @@ declare namespace Windows { * @param buffer A buffer that contains the data to be written. * @return The byte writer operation. */ - writeAsync(buffer: Windows.Storage.Streams.Buffer): Windows.Foundation.IAsyncOperationWithProgress; + writeAsync(buffer: Windows.Storage.Streams.IBuffer): Windows.Foundation.IAsyncOperationWithProgress; } /** Characterizes the format of the data. */ interface IContentTypeProvider { @@ -53530,13 +53530,13 @@ declare namespace Windows { path: string; } /** Represents a file. Provides information about the file and its contents, and ways to manipulate them. */ - interface IStorageFile extends Windows.Storage.IStorageItem, Windows.Storage.Streams.RandomAccessStreamReference, Windows.Storage.Streams.IInputStreamReference { + interface IStorageFile extends Windows.Storage.IStorageItem, Windows.Storage.Streams.IRandomAccessStreamReference, Windows.Storage.Streams.IInputStreamReference { /** * Replaces the specified file with a copy of the current file. * @param fileToReplace The file to replace. * @return No object or value is returned when this method completes. */ - copyAndReplaceAsync(fileToReplace: Windows.Storage.StorageFile): Windows.Foundation.IAsyncAction; + copyAndReplaceAsync(fileToReplace: Windows.Storage.IStorageFile): Windows.Foundation.IAsyncAction; /** * Creates a copy of the file in the specified folder, using the desired name. This method also specifies what to do if an existing file in the specified folder has the same name. * @param destinationFolder The destination folder where the copy is created. @@ -53544,32 +53544,32 @@ declare namespace Windows { * @param option An enum value that determines how Windows responds if the desiredNewName is the same as the name of an existing file in the destination folder. * @return When this method completes, it returns a StorageFile that represents the copy. */ - copyAsync(destinationFolder: Windows.Storage.StorageFolder, desiredNewName: string, option: Windows.Storage.NameCollisionOption): Windows.Foundation.IAsyncOperation; + copyAsync(destinationFolder: Windows.Storage.IStorageFolder, desiredNewName: string, option: Windows.Storage.NameCollisionOption): Windows.Foundation.IAsyncOperation; /** * Creates a copy of the file in the specified folder, using the desired name. * @param destinationFolder The destination folder where the copy is created. * @param desiredNewName The desired name of the copy. * @return When this method completes, it returns a StorageFile that represents the copy. */ - copyAsync(destinationFolder: Windows.Storage.StorageFolder, desiredNewName: string): Windows.Foundation.IAsyncOperation; + copyAsync(destinationFolder: Windows.Storage.IStorageFolder, desiredNewName: string): Windows.Foundation.IAsyncOperation; /** * Creates a copy of the file in the specified folder. * @param destinationFolder The destination folder where the copy is created. * @return When this method completes, it returns a StorageFile that represents the copy. */ - copyAsync(destinationFolder: Windows.Storage.StorageFolder): Windows.Foundation.IAsyncOperation; + copyAsync(destinationFolder: Windows.Storage.IStorageFolder): Windows.Foundation.IAsyncOperation; /** * Moves the current file to the location of the specified file and replaces the specified file in that location. * @param fileToReplace The file to replace. * @return No object or value is returned by this method. */ - moveAndReplaceAsync(fileToReplace: Windows.Storage.StorageFile): Windows.Foundation.IAsyncAction; + moveAndReplaceAsync(fileToReplace: Windows.Storage.IStorageFile): Windows.Foundation.IAsyncAction; /** * Moves the current file to the specified folder. * @param destinationFolder The destination folder where the file is moved. * @return No object or value is returned by this method. */ - moveAsync(destinationFolder: Windows.Storage.StorageFolder): Windows.Foundation.IAsyncAction; + moveAsync(destinationFolder: Windows.Storage.IStorageFolder): Windows.Foundation.IAsyncAction; /** * Moves the current file to the specified folder and renames the file according to the desired name. This method also specifies what to do if a file with the same name already exists in the specified folder. * @param destinationFolder The destination folder where the file is moved. @@ -53577,20 +53577,20 @@ declare namespace Windows { * @param option An enum value that determines how Windows responds if the desiredNewName is the same as the name of an existing file in the destination folder. * @return No object or value is returned by this method. */ - moveAsync(destinationFolder: Windows.Storage.StorageFolder, desiredNewName: string, option: Windows.Storage.NameCollisionOption): Windows.Foundation.IAsyncAction; + moveAsync(destinationFolder: Windows.Storage.IStorageFolder, desiredNewName: string, option: Windows.Storage.NameCollisionOption): Windows.Foundation.IAsyncAction; /** * Moves the current file to the specified folder and renames the file according to the desired name. * @param destinationFolder The destination folder where the file is moved. * @param desiredNewName The desired name of the file after it is moved. * @return No object or value is returned by this method. */ - moveAsync(destinationFolder: Windows.Storage.StorageFolder, desiredNewName: string): Windows.Foundation.IAsyncAction; + moveAsync(destinationFolder: Windows.Storage.IStorageFolder, desiredNewName: string): Windows.Foundation.IAsyncAction; /** * Opens a random-access stream over the file. * @param accessMode The type of access to allow. * @return When this method completes, it returns the random-access stream (type IRandomAccessStream ). */ - openAsync(accessMode: Windows.Storage.FileAccessMode): Windows.Foundation.IAsyncOperation; + openAsync(accessMode: Windows.Storage.FileAccessMode): Windows.Foundation.IAsyncOperation; /** * Opens a transacted, random-access stream for writing to the file. * @return When this method completes, it returns a StorageStreamTransaction that contains the random-access stream and methods that can be used to complete transactions. @@ -53906,27 +53906,27 @@ declare namespace Windows { * @param file The file. * @return The launch operation. */ - static launchFileAsync(file: Windows.Storage.StorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; + static launchFileAsync(file: Windows.Storage.IStorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Starts the default app associated with the specified file, using the specified options. * @param file The file. * @param options The launch options for the app. * @return The launch operation. */ - static launchFileAsync(file: Windows.Storage.StorageFile, options: Windows.System.LauncherOptions): Windows.Foundation.IPromiseWithIAsyncOperation; + static launchFileAsync(file: Windows.Storage.IStorageFile, options: Windows.System.LauncherOptions): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Launches File Explorer with the specified options and displays the contents of the specified folder. * @param folder The folder to display in File Explorer. * @param options Options that specify the amount of screen space that File Explorer fills, and the list of items to select in the specified folder. * @return The result of the operation. */ - static launchFolderAsync(folder: Windows.Storage.StorageFolder, options: Windows.System.FolderLauncherOptions): Windows.Foundation.IPromiseWithIAsyncOperation; + static launchFolderAsync(folder: Windows.Storage.IStorageFolder, options: Windows.System.FolderLauncherOptions): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Launches File Explorer and displays the contents of the specified folder. * @param folder The folder to display in File Explorer. * @return The result of the operation. */ - static launchFolderAsync(folder: Windows.Storage.StorageFolder): Windows.Foundation.IPromiseWithIAsyncOperation; + static launchFolderAsync(folder: Windows.Storage.IStorageFolder): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Starts the default app associated with the URI scheme name for the specified URI. * @param uri The URI. @@ -54263,16 +54263,16 @@ declare namespace Windows { * @param nonce The cryptographic nonce is optional. The nonce is recommended when ASHWID needs to be verified on the cloud against replay attacks. In the scenarios where nonce is desired, the remote server should generate a random nonce and pass it to the client app, and then verify that the signature has the expected nonce once the ASHWID is received from the client system. * @return The hardware Id information. */ - static getPackageSpecificToken(nonce: Windows.Storage.Streams.Buffer): Windows.System.Profile.HardwareToken; + static getPackageSpecificToken(nonce: Windows.Storage.Streams.IBuffer): Windows.System.Profile.HardwareToken; } /** Represents a token that contains a hardware based identification that is sufficiently unique. */ abstract class HardwareToken { /** Gets the certificate that is used to sign the Id and is used to help verify the authenticity of the Id. */ - certificate: Windows.Storage.Streams.Buffer; + certificate: Windows.Storage.Streams.IBuffer; /** Gets the hardware identifier that identifies the device. */ - id: Windows.Storage.Streams.Buffer; + id: Windows.Storage.Streams.IBuffer; /** Gets the digital signature of hardware Id that helps verify the authenticity of returned Id. */ - signature: Windows.Storage.Streams.Buffer; + signature: Windows.Storage.Streams.IBuffer; } /** Identifies the string keys that might exist within the RetailInfo.Properties map of retail-demo relevant property values. */ abstract class KnownRetailInfoProperties { @@ -54422,13 +54422,13 @@ declare namespace Windows { * @param desiredSize The desired size of the user's picture to return. * @return When this method completes, it returns the user's picture. */ - getPictureAsync(desiredSize: Windows.System.UserPictureSize): Windows.Foundation.IPromiseWithIAsyncOperation; + getPictureAsync(desiredSize: Windows.System.UserPictureSize): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Gets properties for the user. * @param values The properties to get. Use the KnownUserProperties class to obtain property names. * @return When this method completes, it returns the requested properties. If a property is missing or unavailable, it is reported as an empty string. */ - getPropertiesAsync(values: Windows.Foundation.Collections.IVectorView): Windows.Foundation.IPromiseWithIAsyncOperation; + getPropertiesAsync(values: Windows.Foundation.Collections.IVectorView): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Gets a property for the user. Use the KnownUserProperties class to obtain property names. * @param value The property to get. @@ -54553,7 +54553,7 @@ declare namespace Windows { * Gets the current lock screen image as a data stream. * @return The stream that contains the lock screen image data. */ - static getImageStream(): Windows.Storage.Streams.RandomAccessStream; + static getImageStream(): Windows.Storage.Streams.IRandomAccessStream; /** Gets the current lock screen image. */ static originalImageFile: Windows.Foundation.Uri; /** @@ -54567,13 +54567,13 @@ declare namespace Windows { * @param value The StorageFile object that contains the new image for the lock screen. * @return The object used to set the image for the lock screen. */ - static setImageFileAsync(value: Windows.Storage.StorageFile): Windows.Foundation.IPromiseWithIAsyncAction; + static setImageFileAsync(value: Windows.Storage.IStorageFile): Windows.Foundation.IPromiseWithIAsyncAction; /** * Sets the lock screen image from a data stream. * @param value The stream that contains the image data. * @return The object used to set the lock screen image. */ - static setImageStreamAsync(value: Windows.Storage.Streams.RandomAccessStream): Windows.Foundation.IPromiseWithIAsyncAction; + static setImageStreamAsync(value: Windows.Storage.Streams.IRandomAccessStream): Windows.Foundation.IPromiseWithIAsyncAction; /** * Unregisters the image feed being used in the lock screen slideshow, stopping the slideshow. (Windows 8.1 only) * @return true if the image feed was disabled; otherwise, false. @@ -54613,7 +54613,7 @@ declare namespace Windows { * @param kind An enumeration that you can use to determine what type of image you want (small, large, and so on). * @return An object that contains the image. */ - static getAccountPicture(kind: Windows.System.UserProfile.AccountPictureKind): Windows.Storage.StorageFile; + static getAccountPicture(kind: Windows.System.UserProfile.AccountPictureKind): Windows.Storage.IStorageFile; /** * Gets the display name for the user account. * @return The display name for the user account. @@ -54655,13 +54655,13 @@ declare namespace Windows { * @param image A file that contains the image. * @return A value that indicates the success or failure of the operation. */ - static setAccountPictureAsync(image: Windows.Storage.StorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; + static setAccountPictureAsync(image: Windows.Storage.IStorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Sets the picture for the user's account using an IRandomAccessStream object. * @param image The image. * @return A value that indicates the success or failure of the operation. */ - static setAccountPictureFromStreamAsync(image: Windows.Storage.Streams.RandomAccessStream): Windows.Foundation.IPromiseWithIAsyncOperation; + static setAccountPictureFromStreamAsync(image: Windows.Storage.Streams.IRandomAccessStream): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Sets the pictures for the user's account using an IStorageFile object. Supports adding a small image, large image, and video. * @param smallImage A small version of the image. @@ -54669,7 +54669,7 @@ declare namespace Windows { * @param video A video. * @return A value that indicates the success or failure of the operation. */ - static setAccountPicturesAsync(smallImage: Windows.Storage.StorageFile, largeImage: Windows.Storage.StorageFile, video: Windows.Storage.StorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; + static setAccountPicturesAsync(smallImage: Windows.Storage.IStorageFile, largeImage: Windows.Storage.IStorageFile, video: Windows.Storage.IStorageFile): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Sets the pictures for the user's account using an IRandomAccessStream object. Supports adding a small image, large image, and video. * @param smallImage A small version of the image. @@ -54677,7 +54677,7 @@ declare namespace Windows { * @param video A video. * @return A value that indicates the success or failure of the operation. */ - static setAccountPicturesFromStreamsAsync(smallImage: Windows.Storage.Streams.RandomAccessStream, largeImage: Windows.Storage.Streams.RandomAccessStream, video: Windows.Storage.Streams.RandomAccessStream): Windows.Foundation.IPromiseWithIAsyncOperation; + static setAccountPicturesFromStreamsAsync(smallImage: Windows.Storage.Streams.IRandomAccessStream, largeImage: Windows.Storage.Streams.IRandomAccessStream, video: Windows.Storage.Streams.IRandomAccessStream): Windows.Foundation.IPromiseWithIAsyncOperation; static addEventListener(type: string, listener: Windows.Foundation.EventHandler): void; static removeEventListener(type: string, listener: Windows.Foundation.EventHandler): void; } @@ -55626,7 +55626,7 @@ declare namespace Windows { */ constructor(effect: Windows.UI.Core.AnimationMetrics.AnimationEffect, target: Windows.UI.Core.AnimationMetrics.AnimationEffectTarget); /** Gets the collection of animations that are associated with the AnimationDescription object. */ - animations: Windows.Foundation.Collections.IVectorView; + animations: Windows.Foundation.Collections.IVectorView; /** Gets the maximum cumulative delay time for the animation to be applied to the collection of objects in a target. */ delayLimit: number; /** Gets the amount of time between the application of the animation effect to each object in a target that contains multiple objects. The StaggerDelay, together with the StaggerDelayFactor and DelayLimit, is one of the three elements used to control the relative timing of the animation effects. */ @@ -57706,7 +57706,7 @@ declare namespace Windows { /** Gets or sets the index of the command you want to use as the cancel command. This is the command that fires when users press the ESC key. */ cancelCommandIndex: number; /** Gets an array of commands that appear in the command bar of the message dialog. These commands makes the dialog actionable. */ - commands: Windows.Foundation.Collections.IVector; + commands: Windows.Foundation.Collections.IVector; /** Gets or sets the message to be displayed to the user. */ content: string; /** Gets or sets the index of the command you want to use as the default. This is the command that fires by default when users press the ENTER key. */ @@ -57717,7 +57717,7 @@ declare namespace Windows { * Begins an asynchronous operation showing a dialog. * @return An object that represents the asynchronous operation. For more on the async pattern, see Asynchronous programming. */ - showAsync(): Windows.Foundation.IPromiseWithIAsyncOperation; + showAsync(): Windows.Foundation.IPromiseWithIAsyncOperation; /** Gets or sets the title to display on the dialog, if any. */ title: string; } @@ -57746,26 +57746,26 @@ declare namespace Windows { /** Creates a new instance of the PopupMenu class. */ constructor(); /** Gets the commands for the context menu. */ - commands: Windows.Foundation.Collections.IVector; + commands: Windows.Foundation.Collections.IVector; /** * Shows the context menu at the specified client coordinates. * @param invocationPoint The coordinates (in DIPs), relative to the window, of the user's finger or mouse pointer when the oncontextmenu event fired. The menu is placed above and centered on this point. * @return A IUICommand object that represents the context menu command that was invoked by the user, after the ShowAsync call completes. */ - showAsync(invocationPoint: Windows.Foundation.Point): Windows.Foundation.IPromiseWithIAsyncOperation; + showAsync(invocationPoint: Windows.Foundation.Point): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Shows the context menu above the specified selection. * @param selection The coordinates (in DIPs) of the selected rectangle, relative to the window. The context menu is placed directly above and centered on this rectangle such that selection is not covered. * @return A IUICommand object that represents the context menu command invoked by the user, after the ShowForSelectionAsync call completes. */ - showForSelectionAsync(selection: Windows.Foundation.Rect): Windows.Foundation.IPromiseWithIAsyncOperation; + showForSelectionAsync(selection: Windows.Foundation.Rect): Windows.Foundation.IPromiseWithIAsyncOperation; /** * Shows the context menu in the preferred placement relative to the specified selection. * @param selection The coordinates (in DIPs) of the selected rectangle, relative to the window. * @param preferredPlacement The preferred placement of the context menu relative to the selection rectangle. * @return A IUICommand object that represents the context menu command invoked by the user, after the ShowForSelectionAsync call completes. */ - showForSelectionAsync(selection: Windows.Foundation.Rect, preferredPlacement: Windows.UI.Popups.Placement): Windows.Foundation.IPromiseWithIAsyncOperation; + showForSelectionAsync(selection: Windows.Foundation.Rect, preferredPlacement: Windows.UI.Popups.Placement): Windows.Foundation.IPromiseWithIAsyncOperation; } /** Represents a command in a context menu. */ class UICommand { @@ -57808,7 +57808,7 @@ declare namespace Windows { label: string; } /** Represents a callback function that handles the event that is fired when the user invokes a context menu command. */ - type UICommandInvokedHandler = (command: Windows.UI.Popups.UICommand) => void; + type UICommandInvokedHandler = (command: Windows.UI.Popups.IUICommand) => void; /** Represents a command in a context menu or message dialog box. */ interface IUICommand { /** Gets or sets the identifier of the command. */ @@ -59857,7 +59857,7 @@ declare namespace Windows { /** Represents an instance of a background task that has been triggered to run. */ abstract class WebUIBackgroundTaskInstance { /** Gets the current background task. */ - static current: Windows.UI.WebUI.WebUIBackgroundTaskInstance; + static current: Windows.UI.WebUI.IWebUIBackgroundTaskInstance; } /** Provides access to an instance of a background task. */ abstract class WebUIBackgroundTaskInstanceRuntimeClass { @@ -60421,11 +60421,11 @@ declare namespace Windows { /** Represents a method that handles the app activation event. */ type ActivatedEventHandler = (ev: Windows.ApplicationModel.Activation.IActivatedEventArgs & WinRTEvent) => void; /** Represents a method that handles the app navigation event. */ - type NavigatedEventHandler = (ev: Windows.UI.WebUI.WebUINavigatedEventArgs & WinRTEvent) => void; + type NavigatedEventHandler = (ev: Windows.UI.WebUI.IWebUINavigatedEventArgs & WinRTEvent) => void; /** Represents a method that handles the app resumption event. */ type ResumingEventHandler = (ev: WinRTEvent) => void; /** Represents a method that handles the app suspension event. */ - type SuspendingEventHandler = (ev: Windows.ApplicationModel.SuspendingEventArgs & WinRTEvent) => void; + type SuspendingEventHandler = (ev: Windows.ApplicationModel.ISuspendingEventArgs & WinRTEvent) => void; /** Provides access to an instance of a background task. */ interface IWebUIBackgroundTaskInstance { /** Gets or sets the success value for the background task. The success value is what is returned to the foreground instance of your app in the completed event. */ @@ -60610,7 +60610,7 @@ declare namespace Windows { /** Gets the collection of atom:category elements within the app:categories element. */ categories: Windows.Foundation.Collections.IVectorView; /** Gets the list of child elements within the element. */ - elementExtensions: Windows.Foundation.Collections.IVector; + elementExtensions: Windows.Foundation.Collections.IVector; /** * Generates the DOM object that represents this element, and all the attributes and child elements including foreign markups. * @param format The format of the element. The only formats accepted by this method are Atom 1.0 and RSS 2.0. @@ -60626,7 +60626,7 @@ declare namespace Windows { /** Gets or sets the text content of the element. If the element contains only child elements, this attribute is NULL. */ nodeValue: string; /** Gets the atom:title element under the app:collection element. */ - title: Windows.Web.Syndication.SyndicationText; + title: Windows.Web.Syndication.ISyndicationText; /** Gets the Uniform Resource Identifier (URI) representing the href attribute of the app:collection element. This is the absolute URI resolved against the xml:base attribute when it is present. If the href attribute is a relative URI string and there is no xml:base attribute, this property will be Null. */ uri: Windows.Foundation.Uri; } @@ -60637,7 +60637,7 @@ declare namespace Windows { /** Gets or sets the Uniform Resource Identifier (URI) for the element. This property represents the xml:base attribute on the element. It may be inherited from an ancestor element. */ baseUri: Windows.Foundation.Uri; /** Gets the list of child elements within the element. */ - elementExtensions: Windows.Foundation.Collections.IVector; + elementExtensions: Windows.Foundation.Collections.IVector; /** * Generates the DOM object that represents this element, and all the attributes and child elements including foreign markups. * @param format The format of the element. The only formats accepted by this method are Atom 1.0 and RSS 2.0. @@ -60664,7 +60664,7 @@ declare namespace Windows { /** Gets the read-only collection of app:collection elements within the app:workspace element. */ collections: Windows.Foundation.Collections.IVectorView; /** Gets the list of child elements within the element. */ - elementExtensions: Windows.Foundation.Collections.IVector; + elementExtensions: Windows.Foundation.Collections.IVector; /** * Generates the DOM object that represents this element, and all the attributes and child elements including foreign markups. * @param format The format for the element. The only formats accepted by this method are Atom 1.0 and RSS 2.0. @@ -60680,7 +60680,7 @@ declare namespace Windows { /** Gets or sets the text content of the element. If the element contains only child elements, this attribute is NULL. */ nodeValue: string; /** Gets the atom:title element under the app:workspace element. */ - title: Windows.Web.Syndication.SyndicationText; + title: Windows.Web.Syndication.ISyndicationText; } } /** Provides a modern HTTP client API for Windows Store apps. */ @@ -61500,7 +61500,7 @@ declare namespace Windows { /** Gets or sets the value of the HTTP Content-Location header on the HTTP content. */ contentLocation: Windows.Foundation.Uri; /** Gets or sets the value of an HTTP Content-MD5 header on the HTTP content. */ - contentMD5: Windows.Storage.Streams.Buffer; + contentMD5: Windows.Storage.Streams.IBuffer; /** Gets or sets the HttpContentRangeHeaderValue object that represent the value of an HTTP Content-Range header on the HTTP content. */ contentRange: Windows.Web.Http.Headers.HttpContentRangeHeaderValue; /** Gets or sets the HttpMediaTypeHeaderValue object that represent the value of an HTTP Content-Type header on the HTTP content. */ @@ -62810,14 +62810,14 @@ declare namespace Windows { * Initializes a new instance of the HttpBufferContent class with the specified buffer. * @param content The content used to initialize the HttpBufferContent . */ - constructor(content: Windows.Storage.Streams.Buffer); + constructor(content: Windows.Storage.Streams.IBuffer); /** * Initializes a new instance of the HttpBufferContent class with an offset and count of bytes from the specified buffer. * @param content The content used to initialize the HttpBufferContent . * @param offset The offset in bytes from the beginning of the content buffer to initialize the HttpBufferContent . * @param count The count of bytes in the content buffer to initialize the HttpBufferContent . */ - constructor(content: Windows.Storage.Streams.Buffer, offset: number, count: number); + constructor(content: Windows.Storage.Streams.IBuffer, offset: number, count: number); /** * Serialize the HttpBufferContent into memory as an asynchronous operation. * @return The object that represents the asynchronous operation. @@ -62831,7 +62831,7 @@ declare namespace Windows { * Serialize the HttpBufferContent to a buffer as an asynchronous operation. * @return The object that represents the asynchronous operation. */ - readAsBufferAsync(): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + readAsBufferAsync(): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; /** * Serialize the HttpBufferContent and return an input stream that represents the content as an asynchronous operation. * @return The object that represents the asynchronous operation. @@ -62891,7 +62891,7 @@ declare namespace Windows { * @param uri The Uri the request is sent to. * @return The object representing the asynchronous operation. */ - getBufferAsync(uri: Windows.Foundation.Uri): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + getBufferAsync(uri: Windows.Foundation.Uri): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; /** * Send a GET request to the specified Uri and return the response body as a stream in an asynchronous operation. * @param uri The Uri the request is sent to. @@ -63040,7 +63040,7 @@ declare namespace Windows { * Serialize the HttpFormUrlEncodedContent to a buffer as an asynchronous operation. * @return The object representing the asynchronous operation. */ - readAsBufferAsync(): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + readAsBufferAsync(): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; /** * Serialize the HttpFormUrlEncodedContent and return an input stream that represents the content as an asynchronous operation. * @return The object representing the asynchronous operation. @@ -63125,7 +63125,7 @@ declare namespace Windows { * Serialize the HttpMultipartContent to a buffer as an asynchronous operation. * @return The object representing the asynchronous operation. */ - readAsBufferAsync(): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + readAsBufferAsync(): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; /** * Serialize the HttpMultipartContent and return an input stream that represents the content as an asynchronous operation. * @return The object representing the asynchronous operation. @@ -63193,7 +63193,7 @@ declare namespace Windows { * Serialize the HttpMultipartFormDataContent to a buffer as an asynchronous operation. * @return The object representing the asynchronous operation. */ - readAsBufferAsync(): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + readAsBufferAsync(): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; /** * Serialize the HttpMultipartFormDataContent and return an input stream that represents the content as an asynchronous operation. * @return The object representing the asynchronous operation. @@ -63445,7 +63445,7 @@ declare namespace Windows { * Serialize the HttpStreamContent to a buffer as an asynchronous operation. * @return The object representing the asynchronous operation. */ - readAsBufferAsync(): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + readAsBufferAsync(): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; /** * Serialize the HttpStreamContent and return an input stream that represents the content as an asynchronous operation. * @return The object representing the asynchronous operation. @@ -63501,7 +63501,7 @@ declare namespace Windows { * Serialize the HttpStringContent to a buffer as an asynchronous operation. * @return The object that represents the asynchronous operation. */ - readAsBufferAsync(): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; + readAsBufferAsync(): Windows.Foundation.IPromiseWithIAsyncOperationWithProgress; /** * Serialize the HttpStringContent and return an input stream that represents the content as an asynchronous operation. * @return The object that represents the asynchronous operation. @@ -63572,7 +63572,7 @@ declare namespace Windows { * Serialize the HTTP content to a buffer as an asynchronous operation. * @return The object representing the asynchronous operation. */ - readAsBufferAsync(): Windows.Foundation.IAsyncOperationWithProgress; + readAsBufferAsync(): Windows.Foundation.IAsyncOperationWithProgress; /** * Serialize the HTTP content and return an input stream that represents the content as an asynchronous operation. * @return The object representing the asynchronous operation. @@ -63639,7 +63639,7 @@ declare namespace Windows { /** Gets or sets the base URI for the element. This property represents the xml:base attribute on the element. It may be inherited from an ancestor element. */ baseUri: Windows.Foundation.Uri; /** Gets the list of child elements within the element. */ - elementExtensions: Windows.Foundation.Collections.IVector; + elementExtensions: Windows.Foundation.Collections.IVector; /** * Generates the DOM object that represents this element, all the attributes and child elements including foreign markups. The only formats accepted by this method are Atom 1.0 and RSS 2.0. * @param format The format of the data. @@ -63713,7 +63713,7 @@ declare namespace Windows { /** Gets or sets the base URI for the element. This property represents the xml:base attribute on the element. It may be inherited from an ancestor element. */ baseUri: Windows.Foundation.Uri; /** Gets the list of child elements within the element. */ - elementExtensions: Windows.Foundation.Collections.IVector; + elementExtensions: Windows.Foundation.Collections.IVector; /** * Generates the DOM object that represents this element, all the attributes and child elements including foreign markups. The only formats accepted by this method are Atom 1.0 and RSS 2.0. * @param format The format of the data. @@ -63783,7 +63783,7 @@ declare namespace Windows { /** Gets a collection of the contributors of the feed. This property represents the collection of all the atom:contributor elements under atom:feed. */ contributors: Windows.Foundation.Collections.IVector; /** Gets the list of child elements within the element. */ - elementExtensions: Windows.Foundation.Collections.IVector; + elementExtensions: Windows.Foundation.Collections.IVector; /** Gets the first Uniform Resource Identifier (URI) in a sequence. This property represents the atom:link element with attribute rel=”first”. */ firstUri: Windows.Foundation.Uri; /** Gets or sets the generator of the feed. This property represents the atom:generator element or the generator element in RSS 2.0. */ @@ -63831,13 +63831,13 @@ declare namespace Windows { /** Gets the previous Uniform Resource Identifier (URI) in the sequence. This property represents the atom:link element with attribute rel="previous". */ previousUri: Windows.Foundation.Uri; /** Gets or sets information about the rights for the feed. This property represents the atom:rights element or the copyright element in RSS 2.0. */ - rights: Windows.Web.Syndication.SyndicationText; + rights: Windows.Web.Syndication.ISyndicationText; /** Gets the format of the source document. If the object is not loaded from a document, this property will return SyndicationFormat_Atom10. */ sourceFormat: Windows.Web.Syndication.SyndicationFormat; /** Gets or sets the subtitle of the feed. This property represents the atom:subtitle element or the description element in RSS 2.0. */ - subtitle: Windows.Web.Syndication.SyndicationText; + subtitle: Windows.Web.Syndication.ISyndicationText; /** Gets or sets the title of the syndication feed. */ - title: Windows.Web.Syndication.SyndicationText; + title: Windows.Web.Syndication.ISyndicationText; } /** Specifies the syndication formats supported by the API. */ enum SyndicationFormat { @@ -63868,7 +63868,7 @@ declare namespace Windows { /** Gets or sets the base URI for the element. This property represents the xml:base attribute on the element. It may be inherited from an ancestor element. */ baseUri: Windows.Foundation.Uri; /** Gets the list of child elements within the element. */ - elementExtensions: Windows.Foundation.Collections.IVector; + elementExtensions: Windows.Foundation.Collections.IVector; /** * Generates the DOM object that represents this element, all the attributes and child elements including foreign markups. The only formats accepted by this method are Atom 1.0 and RSS 2.0. * @param format The format of the data. @@ -63920,7 +63920,7 @@ declare namespace Windows { /** Gets the Uniform Resource Identifier (URI) of an editable resource. */ editUri: Windows.Foundation.Uri; /** Gets the list of child elements within the element. */ - elementExtensions: Windows.Foundation.Collections.IVector; + elementExtensions: Windows.Foundation.Collections.IVector; /** Gets an ETag HTTP header. */ etag: string; /** @@ -63958,13 +63958,13 @@ declare namespace Windows { /** Gets or sets the date the item was published. */ publishedDate: Date; /** Gets or sets information about the rights of an item. This property represents the atom:rights element. */ - rights: Windows.Web.Syndication.SyndicationText; + rights: Windows.Web.Syndication.ISyndicationText; /** Gets or sets the source feed of the item. This property represents the atom:source element or the source element in RSS 2.0. */ source: Windows.Web.Syndication.SyndicationFeed; /** Gets or sets a summary of the item. */ - summary: Windows.Web.Syndication.SyndicationText; + summary: Windows.Web.Syndication.ISyndicationText; /** Gets or sets the title of the item. */ - title: Windows.Web.Syndication.SyndicationText; + title: Windows.Web.Syndication.ISyndicationText; } /** Represents a link within a syndication feed or item. This class encapsulates information in the /rss/channel/link or / rss/channel/item/link element in RSS 2.0 or the atom:link element in Atom 1.0. */ class SyndicationLink { @@ -63989,7 +63989,7 @@ declare namespace Windows { /** Gets or sets the base URI for the element. This property represents the xml:base attribute on the element. It may be inherited from an ancestor element. */ baseUri: Windows.Foundation.Uri; /** Gets the list of child elements within the element. */ - elementExtensions: Windows.Foundation.Collections.IVector; + elementExtensions: Windows.Foundation.Collections.IVector; /** * Generates the DOM object that represents this element, all the attributes and child elements including foreign markups. The only formats accepted by this method are Atom 1.0 and RSS 2.0. * @param format The format of the data. @@ -64033,7 +64033,7 @@ declare namespace Windows { /** Gets or sets the base URI for the element. This property represents the xml:base attribute on the element. It may be inherited from an ancestor element. */ baseUri: Windows.Foundation.Uri; /** Gets the list of child elements within the element. */ - elementExtensions: Windows.Foundation.Collections.IVector; + elementExtensions: Windows.Foundation.Collections.IVector; /** * Generates the DOM object that represents this element, all the attributes and child elements including foreign markups. The only formats accepted by this method are Atom 1.0 and RSS 2.0. * @param format The format of the data. @@ -64070,7 +64070,7 @@ declare namespace Windows { /** Gets or sets the base URI for the element. This property represents the xml:base attribute on the element. It may be inherited from an ancestor element. */ baseUri: Windows.Foundation.Uri; /** Gets the list of child elements within the element. */ - elementExtensions: Windows.Foundation.Collections.IVector; + elementExtensions: Windows.Foundation.Collections.IVector; /** Gets or sets the email address of the person. */ email: string; /** @@ -64112,7 +64112,7 @@ declare namespace Windows { /** Gets or sets the base URI for the element. This property represents the xml:base attribute on the element. It may be inherited from an ancestor element. */ baseUri: Windows.Foundation.Uri; /** Gets the list of child elements within the element. */ - elementExtensions: Windows.Foundation.Collections.IVector; + elementExtensions: Windows.Foundation.Collections.IVector; /** * Generates the DOM object that represents this element, all the attributes and child elements including foreign markups. The only formats accepted by this method are Atom 1.0 and RSS 2.0. * @param format The format of the data. @@ -64174,7 +64174,7 @@ declare namespace Windows { /** Gets or sets the base URI for the element. This property represents the xml:base attribute on the element. It may be inherited from an ancestor element. */ baseUri: Windows.Foundation.Uri; /** Gets the list of child elements within the element. */ - elementExtensions: Windows.Foundation.Collections.IVector; + elementExtensions: Windows.Foundation.Collections.IVector; /** Gets or sets the language of the element. This property represents the xml:lang attribute on the element. It may be inherited from an ancestor element. It must be valid according to XML 1.0. */ language: string; /** Gets or sets the local name of the element. */ @@ -64185,7 +64185,7 @@ declare namespace Windows { nodeValue: string; } /** Represents text, HTML, or XHTML content. This interface encapsulates elements in RSS 2.0 or Atom 1.0 that can have either text, HTML, or XHTML content. In Atom 1.0 this interface maps to an atomTextConstruct in the schema, which can be element atom:title, atom:subtitle, atom:rights or atom:summary. */ - interface ISyndicationText extends Windows.Web.Syndication.SyndicationNode { + interface ISyndicationText extends Windows.Web.Syndication.ISyndicationNode { /** Gets or sets the content of a text content construct like atom:title. */ text: string; /** Gets or sets the type of the content. */