Windows 10 Version 1507 - May 2017 Update
This commit is contained in:
Родитель
cd6ea41040
Коммит
f2eeceb6ae
|
@ -20,7 +20,7 @@ Related topics
|
|||
--------------
|
||||
|
||||
|
||||
[Windows.Media.Streaming.Adaptive namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.streaming.adaptive.aspx)
|
||||
[Windows.Media.Streaming.Adaptive namespace](https://msdn.microsoft.com/library/windows/apps/windows.media.streaming.adaptive.aspx)
|
||||
|
||||
System requirements
|
||||
-----------------------------
|
||||
|
|
|
@ -34,10 +34,10 @@ This scenario brings all the prior scenarios together and shows how to use them
|
|||
Related topics
|
||||
--------------
|
||||
|
||||
[Windows.Media.Casting namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.casting.aspx)
|
||||
[Windows.Media.DialProtocol namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.dialprotocol.aspx)
|
||||
[Windows.UI.ViewManagement.ProjectionManager API](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.viewmanagement.projectionmanager.aspx)
|
||||
[Windows.Devices.Enumeration.DevicePicker API](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.enumeration.devicepicker.aspx)
|
||||
[Windows.Media.Casting namespace](https://msdn.microsoft.com/library/windows/apps/windows.media.casting.aspx)
|
||||
[Windows.Media.DialProtocol namespace](https://msdn.microsoft.com/library/windows/apps/windows.media.dialprotocol.aspx)
|
||||
[Windows.UI.ViewManagement.ProjectionManager API](https://msdn.microsoft.com/library/windows/apps/windows.ui.viewmanagement.projectionmanager.aspx)
|
||||
[Windows.Devices.Enumeration.DevicePicker API](https://msdn.microsoft.com/library/windows/apps/windows.devices.enumeration.devicepicker.aspx)
|
||||
|
||||
System requirements
|
||||
-----------------------------
|
||||
|
|
|
@ -18,7 +18,7 @@ It also requires the [internet client capability](https://msdn.microsoft.com/lib
|
|||
|
||||
When you incorporate this sample into your own app,
|
||||
obtain your own ApplicationId and AdUnitId from the Dev Center.
|
||||
See [Monetize with Ads](https://msdn.microsoft.com/en-us/library/windows/apps/mt170658.aspx) on MSDN
|
||||
See [Monetize with Ads](https://msdn.microsoft.com/library/windows/apps/mt170658.aspx) on MSDN
|
||||
for more details.
|
||||
|
||||
## Related topics
|
||||
|
|
|
@ -34,8 +34,8 @@ The AllSeen Alliance has samples in [Windows SDK](https://allseenalliance.org/de
|
|||
|
||||
### Reference
|
||||
|
||||
[MSDN Reference](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.alljoyn.aspx)
|
||||
[AllJoyn Reference] (https://allseenalliance.org/developers/develop/api-reference)
|
||||
[MSDN Reference](https://msdn.microsoft.com/library/windows/apps/windows.devices.alljoyn.aspx)
|
||||
[AllJoyn Reference](https://allseenalliance.org/developers/develop/api-reference)
|
||||
[Troubleshooting AllJoyn blog](http://channel9.msdn.com/Blogs/Internet-of-Things-Blog/Troubleshooting-AllJoyn-with-Windows-10-Insider-Preview-Builds)
|
||||
|
||||
## System requirements
|
||||
|
|
|
@ -34,8 +34,8 @@ The AllSeen Alliance has samples in [Windows SDK](https://allseenalliance.org/de
|
|||
|
||||
### Reference
|
||||
|
||||
[MSDN Reference](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.alljoyn.aspx)
|
||||
[AllJoyn Reference] (https://allseenalliance.org/developers/develop/api-reference)
|
||||
[MSDN Reference](https://msdn.microsoft.com/library/windows/apps/windows.devices.alljoyn.aspx)
|
||||
[AllJoyn Reference](https://allseenalliance.org/developers/develop/api-reference)
|
||||
[Troubleshooting AllJoyn blog](http://channel9.msdn.com/Blogs/Internet-of-Things-Blog/Troubleshooting-AllJoyn-with-Windows-10-Insider-Preview-Builds)
|
||||
|
||||
## System requirements
|
||||
|
|
|
@ -26,7 +26,7 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
|
|||
|
||||
### Reference
|
||||
|
||||
[AnimationMetrics namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.core.animationmetrics.aspx)
|
||||
[AnimationMetrics namespace](https://msdn.microsoft.com/library/windows/apps/windows.ui.core.animationmetrics.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
# App services sample
|
||||
|
||||
This sample demonstrates how an app can provide a service that other apps can consume. [**Windows.ApplicationModel.AppServices**](https://msdn.microsoft.com/en-us/library/windows.applicationmodel.appservice.aspx) namespace. Some of the classes you might want to review in more detail are the [**AppServiceConnection**](https://msdn.microsoft.com/en-us/library/windows.applicationmodel.appservice.appserviceconnection.aspx) class, which you use to open a connection to an app service and send messages to it, and the [**AppServiceTriggerDetails**](https://msdn.microsoft.com/en-us/library/windows.applicationmodel.appservice.appservicetriggerdetails.aspx) class, which an app service can use to receive and respond to messages.
|
||||
This sample demonstrates how an app can provide a service that other apps can consume. [**Windows.ApplicationModel.AppServices**](https://msdn.microsoft.com/library/windows.applicationmodel.appservice.aspx) namespace. Some of the classes you might want to review in more detail are the [**AppServiceConnection**](https://msdn.microsoft.com/library/windows.applicationmodel.appservice.appserviceconnection.aspx) class, which you use to open a connection to an app service and send messages to it, and the [**AppServiceTriggerDetails**](https://msdn.microsoft.com/library/windows.applicationmodel.appservice.appservicetriggerdetails.aspx) class, which an app service can use to receive and respond to messages.
|
||||
|
||||
Each app service scenario usually involves two apps—the client app that opens the connection and sends messages and a provider app that contains the app service and responds to messages. The sample contains a client project called AppServicesClient and a provider project called AppServicesProvider. The AppServicesProvider provides an app service that can generate random numbers. The AppServicesClient demonstrates
|
||||
- a scenario where the client connects to the app service, gets a random number and closes a connection (OpenCloseConnectionScenario.xaml)
|
||||
|
|
|
@ -52,7 +52,7 @@ The custom effect has a property set that can be modified by calling the **SetPr
|
|||
Related topics
|
||||
--------------
|
||||
|
||||
[Windows.Media.Audio namespace] (https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.audio.aspx)
|
||||
[Windows.Media.Audio namespace](https://msdn.microsoft.com/library/windows/apps/windows.media.audio.aspx)
|
||||
|
||||
|
||||
System requirements
|
||||
|
|
|
@ -60,6 +60,9 @@ namespace AudioCreation
|
|||
|
||||
private async void File_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
// Clear any old messages.
|
||||
rootPage.NotifyUser("", NotifyType.StatusMessage);
|
||||
|
||||
// If another file is already loaded into the FileInput node
|
||||
if (fileInput != null)
|
||||
{
|
||||
|
@ -96,6 +99,16 @@ namespace AudioCreation
|
|||
}
|
||||
|
||||
fileInput = fileInputResult.FileInputNode;
|
||||
|
||||
if (fileInput.Duration <= TimeSpan.FromSeconds(3))
|
||||
{
|
||||
// Imported file is too short
|
||||
rootPage.NotifyUser("Please pick an audio file which is longer than 3 seconds", NotifyType.ErrorMessage);
|
||||
fileInput.Dispose();
|
||||
fileInput = null;
|
||||
return;
|
||||
}
|
||||
|
||||
fileInput.AddOutgoingConnection(deviceOutput);
|
||||
fileButton.Background = new SolidColorBrush(Colors.Green);
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ Specifically, this sample shows how to:
|
|||
|
||||
1. **Obtain the barcode scanner**
|
||||
|
||||
Uses a [**DeviceWatcher**](https://docs.microsoft.com/en-us/uwp/api/Windows.Devices.Enumeration.DeviceWatcher)
|
||||
Uses a [**DeviceWatcher**](https://docs.microsoft.com/uwp/api/Windows.Devices.Enumeration.DeviceWatcher)
|
||||
to enumerate and select the first barcode scanner.
|
||||
|
||||
2. **Claim the barcode scanner for exclusive use**
|
||||
|
|
|
@ -39,17 +39,17 @@ The FaceDetector is intended to operate on a static image or a single frame of v
|
|||
|
||||
### Reference
|
||||
|
||||
[Windows.Media.FaceAnalysis.FaceDetector](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.faceanalysis.facedetector.aspx)
|
||||
[Windows.Media.FaceAnalysis.FaceDetector](https://msdn.microsoft.com/library/windows/apps/windows.media.faceanalysis.facedetector.aspx)
|
||||
|
||||
[Windows.Media.FaceAnalysis namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.faceanalysis.aspx)
|
||||
[Windows.Media.FaceAnalysis namespace](https://msdn.microsoft.com/library/windows/apps/windows.media.faceanalysis.aspx)
|
||||
|
||||
[Windows.Graphics.Imaging namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.graphics.imaging.aspx)
|
||||
[Windows.Graphics.Imaging namespace](https://msdn.microsoft.com/library/windows/apps/windows.graphics.imaging.aspx)
|
||||
|
||||
[Windows.Storage.Pickers namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.storage.pickers.aspx)
|
||||
[Windows.Storage.Pickers namespace](https://msdn.microsoft.com/library/windows/apps/windows.storage.pickers.aspx)
|
||||
|
||||
[Windows.Storage.Streams namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.storage.streams.aspx)
|
||||
[Windows.Storage.Streams namespace](https://msdn.microsoft.com/library/windows/apps/windows.storage.streams.aspx)
|
||||
|
||||
[Windows.Media.Capture.MediaCapture namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.devices.aspx)
|
||||
[Windows.Media.Capture.MediaCapture namespace](https://msdn.microsoft.com/library/windows/apps/windows.media.devices.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -35,11 +35,11 @@ The FaceTracker is intended to operate on a running video stream and is optimize
|
|||
|
||||
### Reference
|
||||
|
||||
[Windows.Media.FaceAnalysis.FaceTracker](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.faceanalysis.facetracker.aspx)
|
||||
[Windows.Media.FaceAnalysis.FaceTracker](https://msdn.microsoft.com/library/windows/apps/windows.media.faceanalysis.facetracker.aspx)
|
||||
|
||||
[Windows.Media.FaceAnalysis namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.faceanalysis.aspx)
|
||||
[Windows.Media.FaceAnalysis namespace](https://msdn.microsoft.com/library/windows/apps/windows.media.faceanalysis.aspx)
|
||||
|
||||
[Windows.Media.Capture.MediaCapture namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.devices.aspx)
|
||||
[Windows.Media.Capture.MediaCapture namespace](https://msdn.microsoft.com/library/windows/apps/windows.media.devices.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -25,17 +25,17 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
|
|||
|
||||
### Reference
|
||||
|
||||
[PointerPoint](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.input.pointerpoint.aspx)
|
||||
[PointerPoint](https://msdn.microsoft.com/library/windows/apps/windows.ui.input.pointerpoint.aspx)
|
||||
|
||||
[KeyboardCapabilities](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.input.keyboardcapabilities.aspx)
|
||||
[KeyboardCapabilities](https://msdn.microsoft.com/library/windows/apps/windows.devices.input.keyboardcapabilities.aspx)
|
||||
|
||||
[MouseCapabilities](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.input.mousecapabilities.aspx)
|
||||
[MouseCapabilities](https://msdn.microsoft.com/library/windows/apps/windows.devices.input.mousecapabilities.aspx)
|
||||
|
||||
[TouchCapabilities](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.input.touchcapabilities.aspx)
|
||||
[TouchCapabilities](https://msdn.microsoft.com/library/windows/apps/windows.devices.input.touchcapabilities.aspx)
|
||||
|
||||
[ManipulationMode](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.uielement.manipulationmode.aspx)
|
||||
[ManipulationMode](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.uielement.manipulationmode.aspx)
|
||||
|
||||
[GestureRecognizer](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.input.gesturerecognizer.aspx)
|
||||
[GestureRecognizer](https://msdn.microsoft.com/library/windows/apps/windows.ui.input.gesturerecognizer.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -25,8 +25,8 @@ This sample illustrates how to build a completely custom UX for selecting device
|
|||
Related topics
|
||||
--------------
|
||||
|
||||
[Windows.Media.Casting namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.casting.aspx)
|
||||
[Windows.Devices.Enumeration namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.enumeration.aspx)
|
||||
[Windows.Media.Casting namespace](https://msdn.microsoft.com/library/windows/apps/windows.media.casting.aspx)
|
||||
[Windows.Devices.Enumeration namespace](https://msdn.microsoft.com/library/windows/apps/windows.devices.enumeration.aspx)
|
||||
|
||||
System requirements
|
||||
-----------------------------
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
# Bluetooth advertisement sample
|
||||
|
||||
This sample demonstrates use of the [**Bluetooth Advertisement**](https://msdn.microsoft.com/en-us/library/windows/apps/xaml/windows.devices.bluetooth.advertisement.aspx) Runtime API to send and receive Bluetooth Low Energy advertisements.
|
||||
This sample demonstrates use of the [**Bluetooth Advertisement**](https://msdn.microsoft.com/library/windows/apps/xaml/windows.devices.bluetooth.advertisement.aspx) Runtime API to send and receive Bluetooth Low Energy advertisements.
|
||||
|
||||
This sample allows the user to publish and watch for Bluetooth Low Energy advertisements. You can choose one of four scenarios and you will likely need two Windows devices to see :
|
||||
- **Foreground watcher**: Scanning for a particular LE advertisement containing a matching manufacturer data section and above a certain RSSI threshold.
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
# Bluetooth RFCOMM chat sample
|
||||
|
||||
This sample demonstrates the use of classes in the
|
||||
[**Windows.Devices.Bluetooth.Rfcomm**](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.bluetooth.rfcomm.aspx)
|
||||
[**Windows.Devices.Bluetooth.Rfcomm**](https://msdn.microsoft.com/library/windows/apps/windows.devices.bluetooth.rfcomm.aspx)
|
||||
namespace
|
||||
to communicate over sockets.
|
||||
|
||||
|
@ -38,7 +38,7 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
|
|||
|
||||
### Reference
|
||||
|
||||
[**Windows.Devices.Bluetooth.Rfcomm**](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.bluetooth.rfcomm.aspx)
|
||||
[**Windows.Devices.Bluetooth.Rfcomm**](https://msdn.microsoft.com/library/windows/apps/windows.devices.bluetooth.rfcomm.aspx)
|
||||
namespace
|
||||
|
||||
## System requirements
|
||||
|
|
|
@ -20,7 +20,7 @@ as well as the ability to perform calendar-aware math operations.
|
|||
|
||||
The Calendar object can convert to and from a language-specific date type:
|
||||
|
||||
* C++: [**Windows::Foundation::DateTime**](https://msdn.microsoft.com/en-us/library/windows/apps/windows.foundation.datetime.aspx)
|
||||
* C++: [**Windows::Foundation::DateTime**](https://msdn.microsoft.com/library/windows/apps/windows.foundation.datetime.aspx)
|
||||
* C#: [**DateTimeOffset**](http://msdn.microsoft.com/library/windows/apps/system.datetimeoffset.aspx)
|
||||
* JavaScript: [**Date**](https://msdn.microsoft.com/library/windows/apps/cd9w2te4(v=vs.94).aspx)
|
||||
|
||||
|
|
|
@ -36,25 +36,25 @@ This sample also implements a custom UI to better simulate the experience that a
|
|||
|
||||
**Reference**
|
||||
|
||||
[Windows.Media.Capture.MediaCapture namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.devices.aspx)
|
||||
[Windows.Media.Capture.MediaCapture namespace](https://msdn.microsoft.com/library/windows/apps/windows.media.devices.aspx)
|
||||
|
||||
[Windows.Media.Capture.MediaCaptureInitializationSettings constructor](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.capture.mediacaptureinitializationsettings.mediacaptureinitializationsettings.aspx)
|
||||
[Windows.Media.Capture.MediaCaptureInitializationSettings constructor](https://msdn.microsoft.com/library/windows/apps/windows.media.capture.mediacaptureinitializationsettings.mediacaptureinitializationsettings.aspx)
|
||||
|
||||
[Windows.Media.Capture.MediaCaptureInitilizationSettings.VideoDeviceId property](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.capture.mediacaptureinitializationsettings.videodeviceid.aspx)
|
||||
[Windows.Media.Capture.MediaCaptureInitilizationSettings.VideoDeviceId property](https://msdn.microsoft.com/library/windows/apps/windows.media.capture.mediacaptureinitializationsettings.videodeviceid.aspx)
|
||||
|
||||
[Windows.Devices.Enumeration namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.enumeration.aspx)
|
||||
[Windows.Devices.Enumeration namespace](https://msdn.microsoft.com/library/windows/apps/windows.devices.enumeration.aspx)
|
||||
|
||||
[Windows.Devices.Enumeration.DeviceInformation class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.enumeration.deviceinformation)
|
||||
[Windows.Devices.Enumeration.DeviceInformation class](https://msdn.microsoft.com/library/windows/apps/windows.devices.enumeration.deviceinformation)
|
||||
|
||||
[Windows.Devices.Sensors.SimpleOrientationSensor class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.sensors.simpleorientationsensor.aspx)
|
||||
[Windows.Devices.Sensors.SimpleOrientationSensor class](https://msdn.microsoft.com/library/windows/apps/windows.devices.sensors.simpleorientationsensor.aspx)
|
||||
|
||||
[Windows.Graphics.Display.DisplayInformation class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.graphics.display.displayinformation.aspx)
|
||||
[Windows.Graphics.Display.DisplayInformation class](https://msdn.microsoft.com/library/windows/apps/windows.graphics.display.displayinformation.aspx)
|
||||
|
||||
[Windows.Phone.UI.Input.HardwareButtons.CameraPressed event](https://msdn.microsoft.com/en-us/library/windows/apps/windows.phone.ui.input.hardwarebuttons.camerapressed.aspx)
|
||||
[Windows.Phone.UI.Input.HardwareButtons.CameraPressed event](https://msdn.microsoft.com/library/windows/apps/windows.phone.ui.input.hardwarebuttons.camerapressed.aspx)
|
||||
|
||||
[Windows.Graphics.Imaging.BitmapDecoder class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.graphics.imaging.bitmapdecoder.aspx)
|
||||
[Windows.Graphics.Imaging.BitmapDecoder class](https://msdn.microsoft.com/library/windows/apps/windows.graphics.imaging.bitmapdecoder.aspx)
|
||||
|
||||
[Windows.Graphics.Imaging.BitmapEncoder class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.graphics.imaging.bitmapencoder.aspx)
|
||||
[Windows.Graphics.Imaging.BitmapEncoder class](https://msdn.microsoft.com/library/windows/apps/windows.graphics.imaging.bitmapencoder.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -30,21 +30,21 @@ Due to the custom UI that this sample implements, any messages intended for the
|
|||
|
||||
**Reference**
|
||||
|
||||
[Windows.Media.Capture.MediaCapture namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.devices.aspx)
|
||||
[Windows.Media.Capture.MediaCapture namespace](https://msdn.microsoft.com/library/windows/apps/windows.media.devices.aspx)
|
||||
|
||||
[Windows.Media.Capture.MediaCaptureInitializationSettings constructor](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.capture.mediacaptureinitializationsettings.mediacaptureinitializationsettings.aspx)
|
||||
[Windows.Media.Capture.MediaCaptureInitializationSettings constructor](https://msdn.microsoft.com/library/windows/apps/windows.media.capture.mediacaptureinitializationsettings.mediacaptureinitializationsettings.aspx)
|
||||
|
||||
[Windows.Media.Capture.MediaCaptureInitilizationSettings.VideoDeviceId property](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.capture.mediacaptureinitializationsettings.videodeviceid.aspx)
|
||||
[Windows.Media.Capture.MediaCaptureInitilizationSettings.VideoDeviceId property](https://msdn.microsoft.com/library/windows/apps/windows.media.capture.mediacaptureinitializationsettings.videodeviceid.aspx)
|
||||
|
||||
[Windows.Devices.Enumeration namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.enumeration.aspx)
|
||||
[Windows.Devices.Enumeration namespace](https://msdn.microsoft.com/library/windows/apps/windows.devices.enumeration.aspx)
|
||||
|
||||
[Windows.Devices.Enumeration.DeviceInformation class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.enumeration.deviceinformation)
|
||||
[Windows.Devices.Enumeration.DeviceInformation class](https://msdn.microsoft.com/library/windows/apps/windows.devices.enumeration.deviceinformation)
|
||||
|
||||
[Windows.Devices.Sensors.SimpleOrientationSensor class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.sensors.simpleorientationsensor.aspx)
|
||||
[Windows.Devices.Sensors.SimpleOrientationSensor class](https://msdn.microsoft.com/library/windows/apps/windows.devices.sensors.simpleorientationsensor.aspx)
|
||||
|
||||
[Windows.Graphics.Display.DisplayInformation class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.graphics.display.displayinformation.aspx)
|
||||
[Windows.Graphics.Display.DisplayInformation class](https://msdn.microsoft.com/library/windows/apps/windows.graphics.display.displayinformation.aspx)
|
||||
|
||||
[Windows.UI.Xaml.Media.Imaging.WriteableBitmap class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.media.imaging.writeablebitmap.aspx)
|
||||
[Windows.UI.Xaml.Media.Imaging.WriteableBitmap class](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.media.imaging.writeablebitmap.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -39,25 +39,25 @@ This sample also implements a custom UI to better simulate the experience that a
|
|||
|
||||
**Reference**
|
||||
|
||||
[Windows.Media.Capture.MediaCapture namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.devices.aspx)
|
||||
[Windows.Media.Capture.MediaCapture namespace](https://msdn.microsoft.com/library/windows/apps/windows.media.devices.aspx)
|
||||
|
||||
[Windows.Media.Capture.MediaCaptureInitializationSettings constructor](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.capture.mediacaptureinitializationsettings.mediacaptureinitializationsettings.aspx)
|
||||
[Windows.Media.Capture.MediaCaptureInitializationSettings constructor](https://msdn.microsoft.com/library/windows/apps/windows.media.capture.mediacaptureinitializationsettings.mediacaptureinitializationsettings.aspx)
|
||||
|
||||
[Windows.Media.Capture.MediaCaptureInitilizationSettings.VideoDeviceId property](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.capture.mediacaptureinitializationsettings.videodeviceid.aspx)
|
||||
[Windows.Media.Capture.MediaCaptureInitilizationSettings.VideoDeviceId property](https://msdn.microsoft.com/library/windows/apps/windows.media.capture.mediacaptureinitializationsettings.videodeviceid.aspx)
|
||||
|
||||
[Windows.Devices.Enumeration namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.enumeration.aspx)
|
||||
[Windows.Devices.Enumeration namespace](https://msdn.microsoft.com/library/windows/apps/windows.devices.enumeration.aspx)
|
||||
|
||||
[Windows.Devices.Enumeration.DeviceInformation class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.enumeration.deviceinformation)
|
||||
[Windows.Devices.Enumeration.DeviceInformation class](https://msdn.microsoft.com/library/windows/apps/windows.devices.enumeration.deviceinformation)
|
||||
|
||||
[Windows.Devices.Sensors.SimpleOrientationSensor class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.sensors.simpleorientationsensor.aspx)
|
||||
[Windows.Devices.Sensors.SimpleOrientationSensor class](https://msdn.microsoft.com/library/windows/apps/windows.devices.sensors.simpleorientationsensor.aspx)
|
||||
|
||||
[Windows.Graphics.Display.DisplayInformation class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.graphics.display.displayinformation.aspx)
|
||||
[Windows.Graphics.Display.DisplayInformation class](https://msdn.microsoft.com/library/windows/apps/windows.graphics.display.displayinformation.aspx)
|
||||
|
||||
[Windows.Phone.UI.Input.HardwareButtons.CameraPressed event](https://msdn.microsoft.com/en-us/library/windows/apps/windows.phone.ui.input.hardwarebuttons.camerapressed.aspx)
|
||||
[Windows.Phone.UI.Input.HardwareButtons.CameraPressed event](https://msdn.microsoft.com/library/windows/apps/windows.phone.ui.input.hardwarebuttons.camerapressed.aspx)
|
||||
|
||||
[Windows.Graphics.Imaging.BitmapDecoder class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.graphics.imaging.bitmapdecoder.aspx)
|
||||
[Windows.Graphics.Imaging.BitmapDecoder class](https://msdn.microsoft.com/library/windows/apps/windows.graphics.imaging.bitmapdecoder.aspx)
|
||||
|
||||
[Windows.Graphics.Imaging.BitmapEncoder class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.graphics.imaging.bitmapencoder.aspx)
|
||||
[Windows.Graphics.Imaging.BitmapEncoder class](https://msdn.microsoft.com/library/windows/apps/windows.graphics.imaging.bitmapencoder.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -48,25 +48,25 @@ To keep code complexity low, but offer easier navigation between the different c
|
|||
|
||||
**Reference**
|
||||
|
||||
[Windows.Media.Capture.MediaCapture namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.devices.aspx)
|
||||
[Windows.Media.Capture.MediaCapture namespace](https://msdn.microsoft.com/library/windows/apps/windows.media.devices.aspx)
|
||||
|
||||
[Windows.Media.Capture.MediaCaptureInitializationSettings constructor](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.capture.mediacaptureinitializationsettings.mediacaptureinitializationsettings.aspx)
|
||||
[Windows.Media.Capture.MediaCaptureInitializationSettings constructor](https://msdn.microsoft.com/library/windows/apps/windows.media.capture.mediacaptureinitializationsettings.mediacaptureinitializationsettings.aspx)
|
||||
|
||||
[Windows.Media.Capture.MediaCaptureInitilizationSettings.VideoDeviceId property](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.capture.mediacaptureinitializationsettings.videodeviceid.aspx)
|
||||
[Windows.Media.Capture.MediaCaptureInitilizationSettings.VideoDeviceId property](https://msdn.microsoft.com/library/windows/apps/windows.media.capture.mediacaptureinitializationsettings.videodeviceid.aspx)
|
||||
|
||||
[Windows.Devices.Enumeration namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.enumeration.aspx)
|
||||
[Windows.Devices.Enumeration namespace](https://msdn.microsoft.com/library/windows/apps/windows.devices.enumeration.aspx)
|
||||
|
||||
[Windows.Devices.Enumeration.DeviceInformation class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.enumeration.deviceinformation)
|
||||
[Windows.Devices.Enumeration.DeviceInformation class](https://msdn.microsoft.com/library/windows/apps/windows.devices.enumeration.deviceinformation)
|
||||
|
||||
[Windows.Devices.Sensors.SimpleOrientationSensor class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.sensors.simpleorientationsensor.aspx)
|
||||
[Windows.Devices.Sensors.SimpleOrientationSensor class](https://msdn.microsoft.com/library/windows/apps/windows.devices.sensors.simpleorientationsensor.aspx)
|
||||
|
||||
[Windows.Graphics.Display.DisplayInformation class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.graphics.display.displayinformation.aspx)
|
||||
[Windows.Graphics.Display.DisplayInformation class](https://msdn.microsoft.com/library/windows/apps/windows.graphics.display.displayinformation.aspx)
|
||||
|
||||
[Windows.Phone.UI.Input.HardwareButtons.CameraPressed event](https://msdn.microsoft.com/en-us/library/windows/apps/windows.phone.ui.input.hardwarebuttons.camerapressed.aspx)
|
||||
[Windows.Phone.UI.Input.HardwareButtons.CameraPressed event](https://msdn.microsoft.com/library/windows/apps/windows.phone.ui.input.hardwarebuttons.camerapressed.aspx)
|
||||
|
||||
[Windows.Graphics.Imaging.BitmapDecoder class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.graphics.imaging.bitmapdecoder.aspx)
|
||||
[Windows.Graphics.Imaging.BitmapDecoder class](https://msdn.microsoft.com/library/windows/apps/windows.graphics.imaging.bitmapdecoder.aspx)
|
||||
|
||||
[Windows.Graphics.Imaging.BitmapEncoder class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.graphics.imaging.bitmapencoder.aspx)
|
||||
[Windows.Graphics.Imaging.BitmapEncoder class](https://msdn.microsoft.com/library/windows/apps/windows.graphics.imaging.bitmapencoder.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -6,54 +6,56 @@
|
|||
# Camera profiles sample
|
||||
|
||||
This sample demonstrates a new extension to Windows.Media.Capture.MediaCaptureInitializationSettings API. This new API allows for application
|
||||
developer to query a device for a collection of media types that can work together on a given device called a Video Profile. These new Video Profiles
|
||||
expose the capabilities of the capture device which the developer can use to set MediaCaptureInitializationSettings to the desired capabilities. In
|
||||
developer to query a device for a collection of media types that can work together on a given device called a Video Profile. These new Video Profiles
|
||||
expose the capabilities of the capture device which the developer can use to set MediaCaptureInitializationSettings to the desired capabilities. In
|
||||
addition the developer can query the driver to see if it supports additional features available through custom profiles.
|
||||
|
||||
This sample covers:
|
||||
|
||||
Scenario 1: Locate a Record Specific Profile: You can use profiles to verify if a camera supports a specific resolution or
|
||||
Scenario 1: Locate a Record Specific Profile: You can use profiles to verify if a camera supports a specific resolution or
|
||||
custom setting via querying for video profile. We demonstrate two methods:
|
||||
1) When you choose "Find 640x480 30 FPS Recording Profile" button, we determine if the back video capture device supports
|
||||
a camera profile with a 640x480(WVGA) 30 FPS resolution. We first check if the back video capture device supports a Video
|
||||
Profile. We iterate through all the profiles the device supports to demonstrate available Video Profiles on the device. Then
|
||||
we search for the 640x480(WVGA) 30 FPS profile. If located, we initialize Media Capture Settings with this profile.
|
||||
2) When you choose the "Find Custom Recording Profile" button, we are looking to see if a device supports a specific Custom
|
||||
Profile. The custom profile would allow the camera driver to optimize for additional features. For this demonstration we use
|
||||
a static profile for 640x480 30 FPS that is avaliable in the phone emulators.
|
||||
1. When you choose "Find 640x480 30 FPS Recording Profile" button, we determine if the back video capture device supports
|
||||
a camera profile with a 640x480(WVGA) 30 FPS resolution. We first check if the back video capture device supports a Video
|
||||
Profile. We iterate through all the profiles the device supports to demonstrate available Video Profiles on the device. Then
|
||||
we search for the 640x480(WVGA) 30 FPS profile. If located, we initialize Media Capture Settings with this profile.
|
||||
2. When you choose the "Find Custom Recording Profile" button, we are looking to see if a device supports a specific Custom
|
||||
Profile. The custom profile would allow the camera driver to optimize for additional features. For this demonstration we use
|
||||
a static profile for 640x480 30 FPS that is avaliable in the phone emulators.
|
||||
|
||||
Scenario 2: Query Profile for Concurrency: This scenarios demonstrates using profiles to determine if a device is capable of streaming
|
||||
from both the front and rear video capture devices at the same time.
|
||||
1) When you choose "Query for Concurrent Profile button, the app queries for a front and back device that supports a video profile. If a profile
|
||||
is supported on both devices we then check the devices for profiles that support concurrency. From the available profiles we look for a concurrent profile match on both
|
||||
devices. If a concurrent profile match is found, we initialize both front and back Media Capture settings of the devices to the concurrency profile.
|
||||
from both the front and rear video capture devices at the same time.
|
||||
1. When you choose "Query for Concurrent Profile button, the app queries for a front and back device that supports a video profile. If a profile
|
||||
is supported on both devices we then check the devices for profiles that support concurrency. From the available profiles we look for a concurrent profile match on both
|
||||
devices. If a concurrent profile match is found, we initialize both front and back Media Capture settings of the devices to the concurrency profile.
|
||||
|
||||
Scenario 3: Query Profile for Hdr Support: This scenarios demonstrates using Camera Profile to determine if a device is capable of supporting
|
||||
Scenario 3: Query Profile for Hdr Support: This scenarios demonstrates using Camera Profile to determine if a device is capable of supporting
|
||||
Hdr Video.
|
||||
1) When you choose "Query Profile for HDR Support" button, the app will query the if the back video capture device supports a Video Profile. Then we query the available profiles
|
||||
to see if Hdr Video is supported calling the IsHdrVideoSupported() method. If so, we set Media Capture settings to the Hdr supported video profile and set Hdr Video mode to auto.
|
||||
1. When you choose "Query Profile for HDR Support" button, the app will query the if the back video capture device supports a Video Profile. Then we query the available profiles
|
||||
to see if Hdr Video is supported calling the IsHdrVideoSupported() method. If so, we set Media Capture settings to the Hdr supported video profile and set Hdr Video mode to auto.
|
||||
|
||||
Related topics
|
||||
--------------
|
||||
[Windows.Media.Capture.MediaCapture namespace] (https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.devices.aspx)
|
||||
[Windows.Devices.Enumeration namespace] (https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.enumeration.aspx)
|
||||
[Windows.Media.Capture.MediaCapture namespace](https://msdn.microsoft.com/library/windows/apps/windows.media.devices.aspx)
|
||||
[Windows.Devices.Enumeration namespace](https://msdn.microsoft.com/library/windows/apps/windows.devices.enumeration.aspx)
|
||||
|
||||
**Conceptual**
|
||||
|
||||
[How to use Camera Profiles](http://go.microsoft.com/fwlink/?LinkId=627233)
|
||||
|
||||
**Reference**
|
||||
|
||||
[Windows.Media.Capture.MediaCaptureInitializationSettings] (https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.capture.mediacaptureinitializationsettings.mediacaptureinitializationsettings.aspx)
|
||||
[Windows.Media.Capture.MediaCaptureInitilizationSettings.VideoDeviceId](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.capture.mediacaptureinitializationsettings.videodeviceid.aspx)
|
||||
[Windows.Devices.Enumeration.DeviceInformation class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.enumeration.deviceinformation.aspx)
|
||||
[Windows.Media.Capture.MediaCaptureInitializationSettings](https://msdn.microsoft.com/library/windows/apps/windows.media.capture.mediacaptureinitializationsettings.mediacaptureinitializationsettings.aspx)
|
||||
[Windows.Media.Capture.MediaCaptureInitilizationSettings.VideoDeviceId](https://msdn.microsoft.com/library/windows/apps/windows.media.capture.mediacaptureinitializationsettings.videodeviceid.aspx)
|
||||
[Windows.Devices.Enumeration.DeviceInformation class](https://msdn.microsoft.com/library/windows/apps/windows.devices.enumeration.deviceinformation.aspx)
|
||||
|
||||
|
||||
System requirements
|
||||
-----------------------------
|
||||
Camera that supports Video Profiles
|
||||
Client
|
||||
Windows 10
|
||||
Windows Phone 10
|
||||
|
||||
**Client:** Windows 10
|
||||
|
||||
**Phone:** Windows 10
|
||||
|
||||
Build the sample
|
||||
----------------
|
||||
|
|
|
@ -27,31 +27,31 @@ For apps that are interested in capturing a photo or video without requiring acc
|
|||
|
||||
[Capture photos and video with MediaCapture](http://go.microsoft.com/fwlink/?LinkId=627234)
|
||||
|
||||
[Capture photos and video with CameraCaptureUI](https://msdn.microsoft.com/en-us/library/windows/apps/mt282142)
|
||||
[Capture photos and video with CameraCaptureUI](https://msdn.microsoft.com/library/windows/apps/mt282142)
|
||||
|
||||
[Media capture using capture device](https://code.msdn.microsoft.com/windowsapps/Media-Capture-Sample-adf87622)
|
||||
|
||||
**Reference**
|
||||
|
||||
[Windows.Media.Capture.MediaCapture namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.devices.aspx)
|
||||
[Windows.Media.Capture.MediaCapture namespace](https://msdn.microsoft.com/library/windows/apps/windows.media.devices.aspx)
|
||||
|
||||
[Windows.Media.Capture.MediaCaptureInitializationSettings constructor](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.capture.mediacaptureinitializationsettings.mediacaptureinitializationsettings.aspx)
|
||||
[Windows.Media.Capture.MediaCaptureInitializationSettings constructor](https://msdn.microsoft.com/library/windows/apps/windows.media.capture.mediacaptureinitializationsettings.mediacaptureinitializationsettings.aspx)
|
||||
|
||||
[Windows.Media.Capture.MediaCaptureInitilizationSettings.VideoDeviceId property](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.capture.mediacaptureinitializationsettings.videodeviceid.aspx)
|
||||
[Windows.Media.Capture.MediaCaptureInitilizationSettings.VideoDeviceId property](https://msdn.microsoft.com/library/windows/apps/windows.media.capture.mediacaptureinitializationsettings.videodeviceid.aspx)
|
||||
|
||||
[Windows.Devices.Enumeration namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.enumeration.aspx)
|
||||
[Windows.Devices.Enumeration namespace](https://msdn.microsoft.com/library/windows/apps/windows.devices.enumeration.aspx)
|
||||
|
||||
[Windows.Devices.Enumeration.DeviceInformation class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.enumeration.deviceinformation)
|
||||
[Windows.Devices.Enumeration.DeviceInformation class](https://msdn.microsoft.com/library/windows/apps/windows.devices.enumeration.deviceinformation)
|
||||
|
||||
[Windows.Devices.Sensors.SimpleOrientationSensor class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.sensors.simpleorientationsensor.aspx)
|
||||
[Windows.Devices.Sensors.SimpleOrientationSensor class](https://msdn.microsoft.com/library/windows/apps/windows.devices.sensors.simpleorientationsensor.aspx)
|
||||
|
||||
[Windows.Graphics.Display.DisplayInformation class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.graphics.display.displayinformation.aspx)
|
||||
[Windows.Graphics.Display.DisplayInformation class](https://msdn.microsoft.com/library/windows/apps/windows.graphics.display.displayinformation.aspx)
|
||||
|
||||
[Windows.Phone.UI.Input.HardwareButtons.CameraPressed event](https://msdn.microsoft.com/en-us/library/windows/apps/windows.phone.ui.input.hardwarebuttons.camerapressed.aspx)
|
||||
[Windows.Phone.UI.Input.HardwareButtons.CameraPressed event](https://msdn.microsoft.com/library/windows/apps/windows.phone.ui.input.hardwarebuttons.camerapressed.aspx)
|
||||
|
||||
[Windows.Graphics.Imaging.BitmapDecoder class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.graphics.imaging.bitmapdecoder.aspx)
|
||||
[Windows.Graphics.Imaging.BitmapDecoder class](https://msdn.microsoft.com/library/windows/apps/windows.graphics.imaging.bitmapdecoder.aspx)
|
||||
|
||||
[Windows.Graphics.Imaging.BitmapEncoder class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.graphics.imaging.bitmapencoder.aspx)
|
||||
[Windows.Graphics.Imaging.BitmapEncoder class](https://msdn.microsoft.com/library/windows/apps/windows.graphics.imaging.bitmapencoder.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -36,25 +36,25 @@ This sample also implements a custom UI to better simulate the experience that a
|
|||
|
||||
**Reference**
|
||||
|
||||
[Windows.Media.Capture.MediaCapture namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.devices.aspx)
|
||||
[Windows.Media.Capture.MediaCapture namespace](https://msdn.microsoft.com/library/windows/apps/windows.media.devices.aspx)
|
||||
|
||||
[Windows.Media.Capture.MediaCaptureInitializationSettings constructor](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.capture.mediacaptureinitializationsettings.mediacaptureinitializationsettings.aspx)
|
||||
[Windows.Media.Capture.MediaCaptureInitializationSettings constructor](https://msdn.microsoft.com/library/windows/apps/windows.media.capture.mediacaptureinitializationsettings.mediacaptureinitializationsettings.aspx)
|
||||
|
||||
[Windows.Media.Capture.MediaCaptureInitilizationSettings.VideoDeviceId property](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.capture.mediacaptureinitializationsettings.videodeviceid.aspx)
|
||||
[Windows.Media.Capture.MediaCaptureInitilizationSettings.VideoDeviceId property](https://msdn.microsoft.com/library/windows/apps/windows.media.capture.mediacaptureinitializationsettings.videodeviceid.aspx)
|
||||
|
||||
[Windows.Devices.Enumeration namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.enumeration.aspx)
|
||||
[Windows.Devices.Enumeration namespace](https://msdn.microsoft.com/library/windows/apps/windows.devices.enumeration.aspx)
|
||||
|
||||
[Windows.Devices.Enumeration.DeviceInformation class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.enumeration.deviceinformation)
|
||||
[Windows.Devices.Enumeration.DeviceInformation class](https://msdn.microsoft.com/library/windows/apps/windows.devices.enumeration.deviceinformation)
|
||||
|
||||
[Windows.Devices.Sensors.SimpleOrientationSensor class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.sensors.simpleorientationsensor.aspx)
|
||||
[Windows.Devices.Sensors.SimpleOrientationSensor class](https://msdn.microsoft.com/library/windows/apps/windows.devices.sensors.simpleorientationsensor.aspx)
|
||||
|
||||
[Windows.Graphics.Display.DisplayInformation class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.graphics.display.displayinformation.aspx)
|
||||
[Windows.Graphics.Display.DisplayInformation class](https://msdn.microsoft.com/library/windows/apps/windows.graphics.display.displayinformation.aspx)
|
||||
|
||||
[Windows.Phone.UI.Input.HardwareButtons.CameraPressed event](https://msdn.microsoft.com/en-us/library/windows/apps/windows.phone.ui.input.hardwarebuttons.camerapressed.aspx)
|
||||
[Windows.Phone.UI.Input.HardwareButtons.CameraPressed event](https://msdn.microsoft.com/library/windows/apps/windows.phone.ui.input.hardwarebuttons.camerapressed.aspx)
|
||||
|
||||
[Windows.Graphics.Imaging.BitmapDecoder class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.graphics.imaging.bitmapdecoder.aspx)
|
||||
[Windows.Graphics.Imaging.BitmapDecoder class](https://msdn.microsoft.com/library/windows/apps/windows.graphics.imaging.bitmapdecoder.aspx)
|
||||
|
||||
[Windows.Graphics.Imaging.BitmapEncoder class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.graphics.imaging.bitmapencoder.aspx)
|
||||
[Windows.Graphics.Imaging.BitmapEncoder class](https://msdn.microsoft.com/library/windows/apps/windows.graphics.imaging.bitmapencoder.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
|
||||
This sample shows how to make a block and filter application for call and text message.
|
||||
It uses the
|
||||
[**CommunicationBlockingAppManager**](https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.communicationblocking.communicationblockingappmanager.aspx)
|
||||
[**CommunicationBlockingAppManager**](https://msdn.microsoft.com/library/windows/apps/windows.applicationmodel.communicationblocking.communicationblockingappmanager.aspx)
|
||||
class to set itself as the active communication blocking app
|
||||
and uses the
|
||||
[**PhoneCallBlocking**](https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.calls.phonecallblocking.aspx) class
|
||||
[**PhoneCallBlocking**](https://msdn.microsoft.com/library/windows/apps/windows.applicationmodel.calls.phonecallblocking.aspx) class
|
||||
to set the phone numbers which are blocked.
|
||||
|
||||
This sample demonstrates how to
|
||||
|
@ -38,15 +38,15 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
|
|||
|
||||
### Reference
|
||||
|
||||
* [**Windows.ApplicationModel.CommunicationBlocking** namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.communicationblocking.aspx)
|
||||
* [**Windows.ApplicationModel.Calls** namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.calls.aspx)
|
||||
* [**CommunicationBlockingAppManager** class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.communicationblocking.communicationblockingappmanager.aspx)
|
||||
* [**PhoneCallBlocking** class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.calls.phonecallblocking.aspx)
|
||||
* [**SystemTrigger** class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.background.systemtrigger.aspx)
|
||||
* [**CommunicationBlockingAppSetAsActiveTrigger** class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.background.communicationblockingappsetasactivetrigger.aspx)
|
||||
* [**PhoneTrigger** class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.background.phonetrigger.aspx)
|
||||
* [**ChatMessageNotificationTrigger** class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.background.chatmessagenotificationtrigger.aspx)
|
||||
* [**ChatMessageReceivedNotificationTrigger** class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.background.chatmessagereceivednotificationtrigger.aspx)
|
||||
* [**Windows.ApplicationModel.CommunicationBlocking** namespace](https://msdn.microsoft.com/library/windows/apps/windows.applicationmodel.communicationblocking.aspx)
|
||||
* [**Windows.ApplicationModel.Calls** namespace](https://msdn.microsoft.com/library/windows/apps/windows.applicationmodel.calls.aspx)
|
||||
* [**CommunicationBlockingAppManager** class](https://msdn.microsoft.com/library/windows/apps/windows.applicationmodel.communicationblocking.communicationblockingappmanager.aspx)
|
||||
* [**PhoneCallBlocking** class](https://msdn.microsoft.com/library/windows/apps/windows.applicationmodel.calls.phonecallblocking.aspx)
|
||||
* [**SystemTrigger** class](https://msdn.microsoft.com/library/windows/apps/windows.applicationmodel.background.systemtrigger.aspx)
|
||||
* [**CommunicationBlockingAppSetAsActiveTrigger** class](https://msdn.microsoft.com/library/windows/apps/windows.applicationmodel.background.communicationblockingappsetasactivetrigger.aspx)
|
||||
* [**PhoneTrigger** class](https://msdn.microsoft.com/library/windows/apps/windows.applicationmodel.background.phonetrigger.aspx)
|
||||
* [**ChatMessageNotificationTrigger** class](https://msdn.microsoft.com/library/windows/apps/windows.applicationmodel.background.chatmessagenotificationtrigger.aspx)
|
||||
* [**ChatMessageReceivedNotificationTrigger** class](https://msdn.microsoft.com/library/windows/apps/windows.applicationmodel.background.chatmessagereceivednotificationtrigger.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -6,23 +6,23 @@
|
|||
# Composition visual without framework sample
|
||||
|
||||
This sample provides an introduction to the
|
||||
[**Windows.UI.Composition**](https://msdn.microsoft.com/en-us/library/windows.ui.composition.aspx) namespace.
|
||||
[**Windows.UI.Composition**](https://msdn.microsoft.com/library/windows.ui.composition.aspx) namespace.
|
||||
|
||||
Windows 10 introduces a unified compositor and rendering engine for universal applications.
|
||||
Application can use the
|
||||
[**Windows.UI.Composition**](https://msdn.microsoft.com/en-us/library/windows.ui.composition.aspx) namespace
|
||||
[**Windows.UI.Composition**](https://msdn.microsoft.com/library/windows.ui.composition.aspx) namespace
|
||||
to create composition objects and apply animation, effects and manipulations on those objects.
|
||||
|
||||
The sample demonstrates the following:
|
||||
|
||||
* Relying entirely on composition objects, rather than using XAML, HTML, or DirectX.
|
||||
* Setting up a [**Compositor**](https://msdn.microsoft.com/en-us/library/windows.ui.composition.compositor.aspx) for creating composition objects.
|
||||
* Creating a [**ContainerVisual**](https://msdn.microsoft.com/en-us/library/windows.ui.composition.containervisual.aspx)
|
||||
* Setting up a [**Compositor**](https://msdn.microsoft.com/library/windows.ui.composition.compositor.aspx) for creating composition objects.
|
||||
* Creating a [**ContainerVisual**](https://msdn.microsoft.com/library/windows.ui.composition.containervisual.aspx)
|
||||
to hold all of the composition objects.
|
||||
* Constructing and walking a simple tree of [**Visual**](https://msdn.microsoft.com/en-us/library/windows.ui.composition.visual.aspx) objects.
|
||||
* Using a [**SolidColorVisual**](https://msdn.microsoft.com/en-us/library/windows.ui.composition.solidcolorvisual.aspx)
|
||||
* Constructing and walking a simple tree of [**Visual**](https://msdn.microsoft.com/library/windows.ui.composition.visual.aspx) objects.
|
||||
* Using a [**SolidColorVisual**](https://msdn.microsoft.com/library/windows.ui.composition.solidcolorvisual.aspx)
|
||||
* Receiving input and
|
||||
changing opacity of a [**Visual**](https://msdn.microsoft.com/en-us/library/windows.ui.composition.visual.aspx) based on that input.
|
||||
changing opacity of a [**Visual**](https://msdn.microsoft.com/library/windows.ui.composition.visual.aspx) based on that input.
|
||||
|
||||
**Note** The Universal Windows app samples require Visual Studio 2015 to build and Windows 10 to execute.
|
||||
(See additional discussion below under **Prerequisites**.)
|
||||
|
@ -35,7 +35,7 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
|
|||
|
||||
- This sample will not pass WACK because it uses the
|
||||
`previewUiComposition` capability in order to access the
|
||||
[**Windows.UI.Composition**](https://msdn.microsoft.com/en-us/library/windows.ui.composition.aspx) preview namespace.
|
||||
[**Windows.UI.Composition**](https://msdn.microsoft.com/library/windows.ui.composition.aspx) preview namespace.
|
||||
- This sample requires Windows 10 build 10240 to run. It will not run on Insider Builds after 10240 due to updates as noted in the Known Issues section on MSDN.
|
||||
(See **Other resources** below.)
|
||||
|
||||
|
@ -43,11 +43,11 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
|
|||
|
||||
### Reference
|
||||
|
||||
* [**Windows.UI.Composition**](https://msdn.microsoft.com/en-us/library/windows.ui.composition.aspx) namespace
|
||||
* [**Compositor**](https://msdn.microsoft.com/en-us/library/windows.ui.composition.compositor.aspx) class
|
||||
* [**ContainerVisual**](https://msdn.microsoft.com/en-us/library/windows.ui.composition.containervisual.aspx) class
|
||||
* [**SolidColorVisual**](https://msdn.microsoft.com/en-us/library/windows.ui.composition.solidcolorvisual.aspx) class
|
||||
* [**Visual**](https://msdn.microsoft.com/en-us/library/windows.ui.composition.visual.aspx) class
|
||||
* [**Windows.UI.Composition**](https://msdn.microsoft.com/library/windows.ui.composition.aspx) namespace
|
||||
* [**Compositor**](https://msdn.microsoft.com/library/windows.ui.composition.compositor.aspx) class
|
||||
* [**ContainerVisual**](https://msdn.microsoft.com/library/windows.ui.composition.containervisual.aspx) class
|
||||
* [**SolidColorVisual**](https://msdn.microsoft.com/library/windows.ui.composition.solidcolorvisual.aspx) class
|
||||
* [**Visual**](https://msdn.microsoft.com/library/windows.ui.composition.visual.aspx) class
|
||||
|
||||
### Other resources
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
# Contact Card integration sample
|
||||
|
||||
This sample shows how to integrate your app into the People App's contact card and the Mini Contact card by using [**annotations**](https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.contacts.contactannotationlist.aspx).
|
||||
This sample shows how to integrate your app into the People App's contact card and the Mini Contact card by using [**annotations**](https://msdn.microsoft.com/library/windows/apps/windows.applicationmodel.contacts.contactannotationlist.aspx).
|
||||
|
||||
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
|
||||
|
||||
|
@ -23,13 +23,13 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
|
|||
|
||||
### Reference
|
||||
|
||||
[**ContactAnnotationList**](https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.contacts.contactannotationlist.aspx)
|
||||
[**ContactAnnotationList**](https://msdn.microsoft.com/library/windows/apps/windows.applicationmodel.contacts.contactannotationlist.aspx)
|
||||
|
||||
[**ContactAnnotation**](https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.contacts.contactannotation.aspx)
|
||||
[**ContactAnnotation**](https://msdn.microsoft.com/library/windows/apps/windows.applicationmodel.contacts.contactannotation.aspx)
|
||||
|
||||
[**Windows.ApplicationModel.Contacts**](http://msdn.microsoft.com/library/windows/apps/br225002)
|
||||
|
||||
[**Handling URI activation (XAML)**](https://technet.microsoft.com/en-us/windowsserver/hh779670)
|
||||
[**Handling URI activation (XAML)**](https://technet.microsoft.com/windowsserver/hh779670)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
# Contact cards sample
|
||||
|
||||
This sample shows how to show contact cards using methods of the
|
||||
[**ContactManager**](https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.contacts.contactmanager.aspx)
|
||||
[**ContactManager**](https://msdn.microsoft.com/library/windows/apps/windows.applicationmodel.contacts.contactmanager.aspx)
|
||||
class.
|
||||
|
||||
This sample has three scenarios.
|
||||
|
@ -16,7 +16,7 @@ This sample has three scenarios.
|
|||
Mini contact cards appear as a pop-up window inside the app.
|
||||
Apps provide an anchor rectangle around which the mini card will be displayed
|
||||
and can provide a suggested position of the mini contact card relative to the anchor rectangle.
|
||||
The [**ShowContactCard**](https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.contacts.contactmanager.showcontactcard.aspx)
|
||||
The [**ShowContactCard**](https://msdn.microsoft.com/library/windows/apps/windows.applicationmodel.contacts.contactmanager.showcontactcard.aspx)
|
||||
method displays a mini contact card.
|
||||
|
||||
- **Show mini contact card with delay loaded-data**
|
||||
|
@ -24,13 +24,13 @@ This sample has three scenarios.
|
|||
Display the mini contact card immediately
|
||||
while the app obtains additional information about the contact in the background.
|
||||
The card is updated when the additional information is available.
|
||||
The [**ShowDelayLoadedContactCard**](https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.contacts.contactmanager.showdelayloadedcontactcard.aspx)
|
||||
The [**ShowDelayLoadedContactCard**](https://msdn.microsoft.com/library/windows/apps/windows.applicationmodel.contacts.contactmanager.showdelayloadedcontactcard.aspx)
|
||||
method displays a delay loaded mini contact card.
|
||||
|
||||
- **Show full contact card**
|
||||
|
||||
Full contact cards appear as a separate window.
|
||||
The [**ShowFullContactCard**](https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.contacts.contactmanager.showfullcontactcard.aspx)
|
||||
The [**ShowFullContactCard**](https://msdn.microsoft.com/library/windows/apps/windows.applicationmodel.contacts.contactmanager.showfullcontactcard.aspx)
|
||||
method displays a full contact card.
|
||||
|
||||
Not all devices support mini contact cards.
|
||||
|
|
|
@ -83,9 +83,9 @@ Duplicates can also be handled. For an example of handling disambiguation, add a
|
|||
|
||||
## Related topics
|
||||
|
||||
- [Cortana design guidelines](https://msdn.microsoft.com/en-us/library/windows/apps/xaml/dn974233.aspx)
|
||||
- [Cortana design guidelines](https://msdn.microsoft.com/library/windows/apps/xaml/dn974233.aspx)
|
||||
- [Cortana interactions (XAML)](https://msdn.microsoft.com/library/windows/apps/mt185598)
|
||||
- [Cortana interactions (HTML)](https://msdn.microsoft.com/en-us/library/windows/apps/dn974231.aspx)
|
||||
- [Cortana interactions (HTML)](https://msdn.microsoft.com/library/windows/apps/dn974231.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -22,8 +22,8 @@ Windows 10
|
|||
Related topics
|
||||
---------------
|
||||
|
||||
[Windows.Security.Credentials] (https://msdn.microsoft.com/library/windows/apps/br227089)
|
||||
[Windows.Security.Credentials.UI] (https://msdn.microsoft.com/library/windows/apps/hh701356)
|
||||
[Windows.Security.Credentials](https://msdn.microsoft.com/library/windows/apps/br227089)
|
||||
[Windows.Security.Credentials.UI](https://msdn.microsoft.com/library/windows/apps/hh701356)
|
||||
|
||||
Build the sample
|
||||
----------------
|
||||
|
|
|
@ -178,7 +178,7 @@ The preceding procedure does not add a device interface GUID for the app to acce
|
|||
|
||||
Windows automatically loads Winusb.sys as the device driver. Otherwise, manually install the driver by using the preceding instructions.
|
||||
|
||||
1. Download and install the [MUTT Software Package](http://msdn.microsoft.com/en-us/library/windows/hardware/jj590752.aspx).
|
||||
1. Download and install the [MUTT Software Package](http://msdn.microsoft.com/library/windows/hardware/jj590752.aspx).
|
||||
2. Open a command prompt and run the MuttUtil tool included in the package. Use the tool to update the firmware:
|
||||
|
||||
`MuttUtil.exe -forceupdatefirmware`
|
||||
|
@ -196,7 +196,7 @@ You can extend this sample for your device by performing these tasks.
|
|||
1. Create a [**DeviceWatcher**](http://msdn.microsoft.com/library/windows/apps/br225446) object for your device in Scenario1\_DeviceConnect.
|
||||
2. Add information about your device in the [**DeviceCapability**](http://msdn.microsoft.com/library/windows/apps/br211430) in the Package.appxmanifest file. The information must be added under the **DeviceCapability** element with **Name** attribute set to "usb".
|
||||
|
||||
If you specify the device class code, make sure that it is supported. For a list of supported device classes see [How to add USB device capabilities to the app manifest](https://msdn.microsoft.com/en-us/library/windows/apps/dn303351).
|
||||
If you specify the device class code, make sure that it is supported. For a list of supported device classes see [How to add USB device capabilities to the app manifest](https://msdn.microsoft.com/library/windows/apps/dn303351).
|
||||
|
||||
## Build the sample
|
||||
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
|
||||
# Direct2D gradient mesh sample
|
||||
|
||||
This sample demonstrates how to instantiate and render a gradient mesh in [Direct2D](http://msdn.microsoft.com/en-us/library/windows/desktop/dd370990). This samples uses the helper method provided by Direct2D to create a mesh consisting of two tensor patches that share a side.
|
||||
This sample demonstrates how to instantiate and render a gradient mesh in [Direct2D](http://msdn.microsoft.com/library/windows/desktop/dd370990). This samples uses the helper method provided by Direct2D to create a mesh consisting of two tensor patches that share a side.
|
||||
|
||||
Some important APIs used in this sample are:
|
||||
|
||||
- The [**D2D1::GradientMeshPatch**](http://msdn.microsoft.com/en-us/library/windows/desktop/dn890770) function, which creates the [**D2D1\_GRADIENT\_MESH\_PATCH**](http://msdn.microsoft.com/en-us/library/windows/desktop/dn890726) structures that contain the tensor patch data.
|
||||
- The [**ID2D1DeviceContext2::CreateGradientMesh**](http://msdn.microsoft.com/en-us/library/windows/desktop/dn890790) method, which creates an [**ID2D1GradientMesh**](http://msdn.microsoft.com/en-us/library/windows/desktop/dn900410) object on the Direct2D device.
|
||||
- The [**ID2D1DeviceContext2::DrawGradientMesh**](http://msdn.microsoft.com/en-us/library/windows/desktop/dn900378) method, which renders the ID2D1GradientMesh object to the device context.
|
||||
- The [**D2D1::GradientMeshPatch**](http://msdn.microsoft.com/library/windows/desktop/dn890770) function, which creates the [**D2D1\_GRADIENT\_MESH\_PATCH**](http://msdn.microsoft.com/library/windows/desktop/dn890726) structures that contain the tensor patch data.
|
||||
- The [**ID2D1DeviceContext2::CreateGradientMesh**](http://msdn.microsoft.com/library/windows/desktop/dn890790) method, which creates an [**ID2D1GradientMesh**](http://msdn.microsoft.com/library/windows/desktop/dn900410) object on the Direct2D device.
|
||||
- The [**ID2D1DeviceContext2::DrawGradientMesh**](http://msdn.microsoft.com/library/windows/desktop/dn900378) method, which renders the ID2D1GradientMesh object to the device context.
|
||||
|
||||
## Sample project files
|
||||
|
||||
|
@ -46,7 +46,7 @@ Variants of the following files are found in every UWP app written in C++:
|
|||
|
||||
## Related topics
|
||||
|
||||
[**D2D1\_GRADIENT\_MESH\_PATCH** structure](http://msdn.microsoft.com/en-us/library/windows/desktop/dn890726)
|
||||
[**D2D1\_GRADIENT\_MESH\_PATCH** structure](http://msdn.microsoft.com/library/windows/desktop/dn890726)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -14,12 +14,12 @@ Specifically, this sample shows how to:
|
|||
- Hook up UI in XAML
|
||||
|
||||
This sample uses the following Direct2D effects:
|
||||
- [Color management](http://msdn.microsoft.com/en-us/library/windows/desktop/hh706318)
|
||||
- [Straighten](http://msdn.microsoft.com/en-us/library/windows/desktop/dn900462)
|
||||
- [Temperature and tint](http://msdn.microsoft.com/en-us/library/windows/desktop/dn900463)
|
||||
- [Saturation](http://msdn.microsoft.com/en-us/library/windows/desktop/hh706369)
|
||||
- [Contrast](http://msdn.microsoft.com/en-us/library/windows/desktop/dn890716)
|
||||
- [Highlights and Shadows](http://msdn.microsoft.com/en-us/library/windows/desktop/dn890773)
|
||||
- [Color management](http://msdn.microsoft.com/library/windows/desktop/hh706318)
|
||||
- [Straighten](http://msdn.microsoft.com/library/windows/desktop/dn900462)
|
||||
- [Temperature and tint](http://msdn.microsoft.com/library/windows/desktop/dn900463)
|
||||
- [Saturation](http://msdn.microsoft.com/library/windows/desktop/hh706369)
|
||||
- [Contrast](http://msdn.microsoft.com/library/windows/desktop/dn890716)
|
||||
- [Highlights and Shadows](http://msdn.microsoft.com/library/windows/desktop/dn890773)
|
||||
|
||||
## Sample project files
|
||||
|
||||
|
|
|
@ -36,13 +36,13 @@ Other files are boilerplate files used for UWP sample apps.
|
|||
|
||||
## Related topics
|
||||
|
||||
[IDWriteTextLayout3 interface](https://msdn.microsoft.com/en-us/library/windows/desktop/dn900405)
|
||||
[IDWriteTextLayout3::SetLineSpacing method](https://msdn.microsoft.com/en-us/library/windows/desktop/dn900409)
|
||||
[DWRITE\_LINE\_SPACING structure](https://msdn.microsoft.com/en-us/library/windows/desktop/dn933216)
|
||||
[DWRITE\_LINE\_SPACING_METHOD enumeration](https://msdn.microsoft.com/en-us/library/windows/desktop/dd368101)
|
||||
[DWRITE\_FONT\_LINE_GAP\_USAGE enumeration](https://msdn.microsoft.com/en-us/library/windows/desktop/dn933211)
|
||||
[IDWriteTextLayout3::GetLineMetrics method](https://msdn.microsoft.com/en-us/library/windows/desktop/dn900406)
|
||||
[DWRITE\_LINE\_METRICS1 structure](https://msdn.microsoft.com/en-us/library/windows/desktop/dn933215)
|
||||
[IDWriteTextLayout3 interface](https://msdn.microsoft.com/library/windows/desktop/dn900405)
|
||||
[IDWriteTextLayout3::SetLineSpacing method](https://msdn.microsoft.com/library/windows/desktop/dn900409)
|
||||
[DWRITE\_LINE\_SPACING structure](https://msdn.microsoft.com/library/windows/desktop/dn933216)
|
||||
[DWRITE\_LINE\_SPACING_METHOD enumeration](https://msdn.microsoft.com/library/windows/desktop/dd368101)
|
||||
[DWRITE\_FONT\_LINE_GAP\_USAGE enumeration](https://msdn.microsoft.com/library/windows/desktop/dn933211)
|
||||
[IDWriteTextLayout3::GetLineMetrics method](https://msdn.microsoft.com/library/windows/desktop/dn900406)
|
||||
[DWRITE\_LINE\_METRICS1 structure](https://msdn.microsoft.com/library/windows/desktop/dn933215)
|
||||
|
||||
|
||||
## System requirements
|
||||
|
|
|
@ -18,7 +18,7 @@ The client component of the sample demonstrates the following features:
|
|||
- Set the remote endpoint for a UDP network server where packets should be sent using one of the [**DatagramSocket.ConnectAsync**](http://msdn.microsoft.com/library/windows/apps/hh701219) methods.
|
||||
- Send data to the server using the [**Streams.DataWriter**](http://msdn.microsoft.com/library/windows/apps/br208154) object which allows a programmer to write common types (integers and strings, for example) on any stream.
|
||||
- Close the socket.
|
||||
- Send multicast and broadcast packets using IOutputStreams obtained through [**DatagramSocket.GetOutputStreamAsync**](https://msdn.microsoft.com/en-us/library/windows/apps/hh701265.aspx).
|
||||
- Send multicast and broadcast packets using IOutputStreams obtained through [**DatagramSocket.GetOutputStreamAsync**](https://msdn.microsoft.com/library/windows/apps/hh701265.aspx).
|
||||
|
||||
The server component of the sample demonstrates the following features:
|
||||
|
||||
|
@ -28,11 +28,11 @@ The server component of the sample demonstrates the following features:
|
|||
- Receive a [**DatagramSocket.MessageReceived**](http://msdn.microsoft.com/library/windows/apps/br241358) event that indicates that a UDP datagram was received on the [**DatagramSocket**](http://msdn.microsoft.com/library/windows/apps/br241319) object.
|
||||
- Receive data from the client using the [**DatagramSocket.MessageReceived**](http://msdn.microsoft.com/library/windows/apps/br241358) handler. The [**DatagramSocketMessageReceivedEventArgs**](http://msdn.microsoft.com/library/windows/apps/br241344) object passed to the **DatagramSocket.MessageReceived** handler allows an app to receive data from the client and also determine the remote address and port that sent the data.
|
||||
- Close the socket.
|
||||
- Listen for multicast packets while coexisting with other multicast applications by using the [**DatagramSocketControl.MulticastOnly**](https://msdn.microsoft.com/en-us/library/windows/apps/windows.networking.sockets.datagramsocketcontrol.multicastonly.aspx) control option.
|
||||
- Listen for multicast packets while coexisting with other multicast applications by using the [**DatagramSocketControl.MulticastOnly**](https://msdn.microsoft.com/library/windows/apps/windows.networking.sockets.datagramsocketcontrol.multicastonly.aspx) control option.
|
||||
|
||||
For a sample that shows how to use a stream (TCP) socket to send and receive data in a UWP app, download the [StreamSocket sample](/Samples/StreamSocket).
|
||||
|
||||
If you are interested in developing an app that is always connected and always reachable using background network notifications in a UWP app, refer to the [**SocketActivityTrigger**](https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.background.socketactivitytrigger.aspx) documentation. The [SocketActivityTrigger StreamSocket Sample](/Samples/SocketActivityStreamSocket) is a good starting point, since the programming pattern with DatagramSocket is essentially the same as with StreamSocket.
|
||||
If you are interested in developing an app that is always connected and always reachable using background network notifications in a UWP app, refer to the [**SocketActivityTrigger**](https://msdn.microsoft.com/library/windows/apps/windows.applicationmodel.background.socketactivitytrigger.aspx) documentation. The [SocketActivityTrigger StreamSocket Sample](/Samples/SocketActivityStreamSocket) is a good starting point, since the programming pattern with DatagramSocket is essentially the same as with StreamSocket.
|
||||
|
||||
## Network capabilities
|
||||
|
||||
|
@ -56,7 +56,7 @@ This sample requires that network capabilities be set in the *Package.appxmanife
|
|||
|
||||
[**Windows.Storage.Streams.DataWriter**](http://msdn.microsoft.com/library/windows/apps/br208154)
|
||||
|
||||
[**SocketActivityTrigger**](https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.background.socketactivitytrigger.aspx)
|
||||
[**SocketActivityTrigger**](https://msdn.microsoft.com/library/windows/apps/windows.applicationmodel.background.socketactivitytrigger.aspx)
|
||||
|
||||
### Samples
|
||||
|
||||
|
|
|
@ -28,9 +28,9 @@ The sample demonstrates eight scenarios:
|
|||
|
||||
## Related topics
|
||||
|
||||
[Enumerating devices article](http://msdn.microsoft.com/en-us/library/windows/apps/Hh464977)
|
||||
[Enumerating devices article](http://msdn.microsoft.com/library/windows/apps/Hh464977)
|
||||
|
||||
[Windows.Devices.Enumeration reference](http://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.enumeration.aspx)
|
||||
[Windows.Devices.Enumeration reference](http://msdn.microsoft.com/library/windows/apps/windows.devices.enumeration.aspx)
|
||||
|
||||
[Windows Universal App Samples](https://github.com/Microsoft/Windows-universal-samples)
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
|
|||
|
||||
### Reference
|
||||
|
||||
[ApplicationView class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.viewmanagement.applicationview.aspx)
|
||||
[ApplicationView class](https://msdn.microsoft.com/library/windows/apps/windows.ui.viewmanagement.applicationview.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ Important APIs in this sample include:
|
|||
|
||||
- [**onresize**](http://msdn.microsoft.com/library/windows/apps/hh466035) event
|
||||
- [**DisplayInformation**](http://msdn.microsoft.com/library/windows/apps/dn264258) class
|
||||
- [**RawPixelsPerViewPixel**](https://msdn.microsoft.com/en-us/library/windows.graphics.display.displayinformation.rawpixelsperviewpixel.aspx) property
|
||||
- [**RawPixelsPerViewPixel**](https://msdn.microsoft.com/library/windows.graphics.display.displayinformation.rawpixelsperviewpixel.aspx) property
|
||||
|
||||
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ This sample will not pass WACK because it uses a special-use capability.
|
|||
|
||||
## Related Topics
|
||||
|
||||
[Enterprise Data Protection Overview](https://msdn.microsoft.com/en-us/library/Dn985838(v=VS.85).aspx)
|
||||
[Enterprise Data Protection Overview](https://msdn.microsoft.com/library/Dn985838(v=VS.85).aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -31,15 +31,15 @@ See **Deploying and running the sample** below for instructions on using the sam
|
|||
|
||||
### Other resources
|
||||
|
||||
[Background Tasks and Extended Execution](https://msdn.microsoft.com/en-us/magazine/mt590969)
|
||||
[Background Tasks and Extended Execution](https://msdn.microsoft.com/magazine/mt590969)
|
||||
|
||||
[Launching, resuming, and background tasks](https://msdn.microsoft.com/en-us/library/windows/apps/xaml/mt227652.aspx)
|
||||
[Launching, resuming, and background tasks](https://msdn.microsoft.com/library/windows/apps/xaml/mt227652.aspx)
|
||||
|
||||
[Support your app with background tasks](https://msdn.microsoft.com/library/windows/apps/mt299103)
|
||||
|
||||
### Reference
|
||||
|
||||
[**Windows.ApplicationModel.ExtendedExecution**](https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.extendedexecution.aspx)
|
||||
[**Windows.ApplicationModel.ExtendedExecution**](https://msdn.microsoft.com/library/windows/apps/windows.applicationmodel.extendedexecution.aspx)
|
||||
|
||||
### Related technologies
|
||||
|
||||
|
@ -113,5 +113,5 @@ some scenarios require you to run the sample without debugging.
|
|||
|
||||
See the following topics for step-by-step information about using extended execution:
|
||||
|
||||
- [Background Tasks and Extended Execution](https://msdn.microsoft.com/en-us/magazine/mt590969)
|
||||
- [Background Tasks and Extended Execution](https://msdn.microsoft.com/magazine/mt590969)
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ The sample demonstrates these tasks:
|
|||
|
||||
4. **Query all the files in a folder and show file provider and availability**
|
||||
|
||||
Uses the [**Provider**](https://msdn.microsoft.com/en-us/library/windows/apps/windows.storage.storagefile.provider.aspx) and [**IsAvailable*]() properties to obtain the provider and whether the file is available offline.
|
||||
Uses the [**Provider**](https://msdn.microsoft.com/library/windows/apps/windows.storage.storagefile.provider.aspx) and [**IsAvailable*]() properties to obtain the provider and whether the file is available offline.
|
||||
|
||||
Additional important APIs in this sample include:
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
|
|||
|
||||
### Reference
|
||||
|
||||
[ApplicationView class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.viewmanagement.applicationview.aspx)
|
||||
[ApplicationView class](https://msdn.microsoft.com/library/windows/apps/windows.ui.viewmanagement.applicationview.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
# General Purpose Input/Output (GPIO) sample
|
||||
|
||||
The [**Windows.Devices.Gpio**](http://msdn.microsoft.com/en-us/library/windows.devices.gpio.aspx) namespace
|
||||
The [**Windows.Devices.Gpio**](http://msdn.microsoft.com/library/windows.devices.gpio.aspx) namespace
|
||||
allows apps to set, read, and react to state changes in the
|
||||
General Purpose Input/Output (GPIO) pins
|
||||
on a Windows IoT (Internet of Things) device.
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
# Inter-Integrated Circuit (I2C) sample
|
||||
|
||||
The [**Windows.Devices.I2c**](http://msdn.microsoft.com/en-us/library/windows.devices.i2c.aspx) namespace
|
||||
The [**Windows.Devices.I2c**](http://msdn.microsoft.com/library/windows.devices.i2c.aspx) namespace
|
||||
allows apps to communicate with Inter-Integrated Circuit devices
|
||||
(commmonly abbreviated I<>C or I2C)
|
||||
on a Windows IoT (Internet of Things) device.
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
# Serial Peripheral Interface (SPI) sample
|
||||
|
||||
The [**Windows.Devices.Spi**](http://msdn.microsoft.com/en-us/library/windows.devices.spi.aspx) namespace
|
||||
The [**Windows.Devices.Spi**](http://msdn.microsoft.com/library/windows.devices.spi.aspx) namespace
|
||||
allows apps to communicate with Serial Peripheral Interface (SPI) devices
|
||||
on a Windows IoT (Internet of Things) device.
|
||||
SPI is a four-wire bus used to interface devices such as analog to digital converters,
|
||||
|
|
|
@ -28,7 +28,7 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
|
|||
|
||||
### Reference
|
||||
|
||||
[JapanesePhoneticAnalyzer class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.globalization.japanesephoneticanalyzer.aspx)
|
||||
[JapanesePhoneticAnalyzer class](https://msdn.microsoft.com/library/windows/apps/windows.globalization.japanesephoneticanalyzer.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ The following features can be used to retrieve text that contains JSON from an H
|
|||
|
||||
- [**Windows.Web.Http.HttpClient**](http://msdn.microsoft.com/library/windows/apps/dn298639) - Supports Universal Windows Platform (UWP) apps written in JavaScript, C\#, Visual Basic, or C++.
|
||||
- [XML HTTP Extended Request (IXMLHttpRequest2)](http://msdn.microsoft.com/library/windows/apps/hh831163) - Supports UWP apps written in C++.
|
||||
- [C++ REST SDK](http://msdn.microsoft.com/en-us/library/jj988008(v=vs.120).aspx) - Supports UWP apps written in C++.
|
||||
- [C++ REST SDK](http://msdn.microsoft.com/library/jj988008(v=vs.120).aspx) - Supports UWP apps written in C++.
|
||||
|
||||
**Note** Use of this sample does not require Internet or intranet access so no network capabilities need to be set in the *Package.appmanifest* file.
|
||||
|
||||
|
@ -35,7 +35,7 @@ The following features can be used to retrieve text that contains JSON from an H
|
|||
|
||||
### Reference
|
||||
|
||||
[C++ REST SDK](http://msdn.microsoft.com/en-us/library/jj988008(v=vs.120).aspx)
|
||||
[C++ REST SDK](http://msdn.microsoft.com/library/jj988008(v=vs.120).aspx)
|
||||
|
||||
[**JsonArray**](http://msdn.microsoft.com/library/windows/apps/br225234)
|
||||
|
||||
|
|
|
@ -31,10 +31,10 @@ the default lamp device when page loads and provide a toggle to turn the lamp on
|
|||
Related topics
|
||||
--------------
|
||||
|
||||
[Windows.Media.Devices namespace] (https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.devices.aspx)
|
||||
[Windows.Media.Devices namespace](https://msdn.microsoft.com/library/windows/apps/windows.media.devices.aspx)
|
||||
|
||||
Windows 8 and 8.1 method for turning on flash (requires starting a video recording session)
|
||||
[Windows.Media.Devices.VideoDeviceController.TorchControl] (https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.devices.videodevicecontroller.torchcontrol.aspx)
|
||||
[Windows.Media.Devices.VideoDeviceController.TorchControl](https://msdn.microsoft.com/library/windows/apps/windows.media.devices.videodevicecontroller.torchcontrol.aspx)
|
||||
|
||||
|
||||
System requirements
|
||||
|
|
|
@ -22,7 +22,7 @@ Related topics
|
|||
|
||||
MediaStreamSource Sample (https://code.msdn.microsoft.com/windowsapps/MediaStreamSource-media-dfd55dff)
|
||||
|
||||
[Windows.Media.Core namespace] (https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.core.msesourcebuffer.aspx)
|
||||
[Windows.Media.Core namespace](https://msdn.microsoft.com/library/windows/apps/windows.media.core.msesourcebuffer.aspx)
|
||||
|
||||
|
||||
System requirements
|
||||
|
|
|
@ -52,13 +52,13 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
|
|||
|
||||
<!-- Add links to related API -->
|
||||
|
||||
[LoggingChannel](https://msdn.microsoft.com/en-us/library/windows/apps/windows.foundation.diagnostics.loggingchannel.aspx)
|
||||
[LoggingChannel](https://msdn.microsoft.com/library/windows/apps/windows.foundation.diagnostics.loggingchannel.aspx)
|
||||
|
||||
[LoggingActivity](https://msdn.microsoft.com/en-us/library/windows/apps/windows.foundation.diagnostics.loggingactivity.aspx)
|
||||
[LoggingActivity](https://msdn.microsoft.com/library/windows/apps/windows.foundation.diagnostics.loggingactivity.aspx)
|
||||
|
||||
[LoggingSession](https://msdn.microsoft.com/en-us/library/windows/apps/windows.foundation.diagnostics.loggingsession.aspx)
|
||||
[LoggingSession](https://msdn.microsoft.com/library/windows/apps/windows.foundation.diagnostics.loggingsession.aspx)
|
||||
|
||||
[FileLoggingSession](https://msdn.microsoft.com/en-us/library/windows/apps/windows.foundation.diagnostics.fileloggingsession.aspx)
|
||||
[FileLoggingSession](https://msdn.microsoft.com/library/windows/apps/windows.foundation.diagnostics.fileloggingsession.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -27,9 +27,9 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
|
|||
|
||||
[Reduce latency with DXGI 1.3 swap chains](https://msdn.microsoft.com/library/windows/apps/mt210781)
|
||||
|
||||
[DirectX and XAML](https://msdn.microsoft.com/en-us/library/windows/apps/hh825871.aspx)
|
||||
[DirectX and XAML](https://msdn.microsoft.com/library/windows/apps/hh825871.aspx)
|
||||
|
||||
[Creating an dedicated input thread](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.controls.swapchainpanel.createcoreindependentinputsource.aspx)
|
||||
[Creating an dedicated input thread](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.controls.swapchainpanel.createcoreindependentinputsource.aspx)
|
||||
|
||||
|
||||
## System requirements
|
||||
|
|
|
@ -11,7 +11,7 @@ Specifically, this sample shows how to:
|
|||
|
||||
1. **Get the magnetic stripe reader**
|
||||
|
||||
Uses a [**DeviceWatcher**](https://docs.microsoft.com/en-us/uwp/api/Windows.Devices.Enumeration.DeviceWatcher)
|
||||
Uses a [**DeviceWatcher**](https://docs.microsoft.com/uwp/api/Windows.Devices.Enumeration.DeviceWatcher)
|
||||
to enumerate and select the first magnetic stripe reader.
|
||||
|
||||
2. **Claim the magnetic stripe reader for exclusive use**
|
||||
|
|
|
@ -74,7 +74,7 @@ viewable in the UI.
|
|||
Related topics
|
||||
--------------
|
||||
|
||||
[Windows.Media.Editing namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.editing.aspx)
|
||||
[Windows.Media.Editing namespace](https://msdn.microsoft.com/library/windows/apps/windows.media.editing.aspx)
|
||||
|
||||
|
||||
System requirements
|
||||
|
|
|
@ -25,7 +25,7 @@ to be declared in package manifest.
|
|||
|
||||
### Reference
|
||||
|
||||
[Mobile broadband API reference](https://msdn.microsoft.com/en-us/library/windows/apps/windows.networking.networkoperators.aspx)
|
||||
[Mobile broadband API reference](https://msdn.microsoft.com/library/windows/apps/windows.networking.networkoperators.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -29,17 +29,17 @@ Scenario 2: Capture image from camera and extract text.
|
|||
|
||||
**Reference**
|
||||
|
||||
[Windows.Media.Ocr namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.ocr.aspx)
|
||||
[Windows.Media.Ocr namespace](https://msdn.microsoft.com/library/windows/apps/windows.media.ocr.aspx)
|
||||
|
||||
[Windows.Globalization.Language class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.globalization.language.aspx)
|
||||
[Windows.Globalization.Language class](https://msdn.microsoft.com/library/windows/apps/windows.globalization.language.aspx)
|
||||
|
||||
[GlobalizationPreferences.Languages property](https://msdn.microsoft.com/en-us/library/windows/apps/windows.system.userprofile.globalizationpreferences.languages.aspx)
|
||||
[GlobalizationPreferences.Languages property](https://msdn.microsoft.com/library/windows/apps/windows.system.userprofile.globalizationpreferences.languages.aspx)
|
||||
|
||||
[Language matching] (https://msdn.microsoft.com/en-us/library/windows/apps/jj673578.aspx)
|
||||
[Language matching](https://msdn.microsoft.com/library/windows/apps/jj673578.aspx)
|
||||
|
||||
[Windows.Graphics.Imaging.BitmapDecoder class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.graphics.imaging.bitmapdecoder.aspx)
|
||||
[Windows.Graphics.Imaging.BitmapDecoder class](https://msdn.microsoft.com/library/windows/apps/windows.graphics.imaging.bitmapdecoder.aspx)
|
||||
|
||||
[Windows.Media.Capture.MediaCapture namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.capture.aspx)
|
||||
[Windows.Media.Capture.MediaCapture namespace](https://msdn.microsoft.com/library/windows/apps/windows.media.capture.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
|
|||
|
||||
### Reference
|
||||
|
||||
[**Storing user credentials using the Credential Locker**](https://msdn.microsoft.com/en-us/library/windows/apps/dn448950.aspx)
|
||||
[**Storing user credentials using the Credential Locker**](https://msdn.microsoft.com/library/windows/apps/dn448950.aspx)
|
||||
[**Storing user credentials**](http://msdn.microsoft.com/library/windows/apps/hh465060)
|
||||
[**Windows.Security.Credentials** namespace](http://msdn.microsoft.com/library/windows/apps/br227089)
|
||||
|
||||
|
|
|
@ -25,11 +25,11 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
|
|||
|
||||
### Reference
|
||||
|
||||
[**Windows.Data.Pdf** namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.data.pdf.aspx)
|
||||
[**Windows.Data.Pdf** namespace](https://msdn.microsoft.com/library/windows/apps/windows.data.pdf.aspx)
|
||||
|
||||
[**PdfDocument** class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.data.pdf.pdfdocument.aspx)
|
||||
[**PdfDocument** class](https://msdn.microsoft.com/library/windows/apps/windows.data.pdf.pdfdocument.aspx)
|
||||
|
||||
[**PdfPage** class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.data.pdf.pdfpage.aspx)
|
||||
[**PdfPage** class](https://msdn.microsoft.com/library/windows/apps/windows.data.pdf.pdfpage.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
# Phone call sample
|
||||
|
||||
This sample shows how to use the [**Calls**](https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.calls.aspx) APIs. This sample does not follow the typical sample template pattern, it is a sample app that uses the MWC pattern to give you a working E2E phone call application to start with.
|
||||
This sample shows how to use the [**Calls**](https://msdn.microsoft.com/library/windows/apps/windows.applicationmodel.calls.aspx) APIs. This sample does not follow the typical sample template pattern, it is a sample app that uses the MWC pattern to give you a working E2E phone call application to start with.
|
||||
|
||||
NOTE: This is a mobile only sample.
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
|
|||
|
||||
### Reference
|
||||
|
||||
[ApplicationView class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.viewmanagement.applicationview.aspx)
|
||||
[ApplicationView class](https://msdn.microsoft.com/library/windows/apps/windows.ui.viewmanagement.applicationview.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ These topics provide info about the APIs used in this sample:
|
|||
- [Windows.Gaming.Input](http://msdn.microsoft.com/library/windows/apps/windows.gaming.input)
|
||||
- [Windows.UI.Xaml](http://msdn.microsoft.com/library/windows/apps/br209045)
|
||||
- [Windows.UI.Xaml.Controls](http://msdn.microsoft.com/library/windows/apps/br227716)
|
||||
- [Windows.UI.Xaml.Controls.SwapChainPanel](http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.controls.swapchainpanel)
|
||||
- [Windows.UI.Xaml.Controls.SwapChainPanel](http://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.controls.swapchainpanel)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ to be declared in the package manifest.
|
|||
|
||||
### Reference
|
||||
|
||||
[SMS API reference](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.sms.aspx)
|
||||
[SMS API reference](https://msdn.microsoft.com/library/windows/apps/windows.devices.sms.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -36,8 +36,8 @@ HRTF xAPO API is present but nonfunctional on Phone devices.
|
|||
|
||||
## Reference
|
||||
|
||||
* [XAudio2 API](https://msdn.microsoft.com/en-us/library/windows/desktop/hh405049(v=vs.85).aspx)
|
||||
* [IXAPOHrtfParameters] (https://msdn.microsoft.com/en-us/library/windows/desktop/mt186608(v=vs.85).aspx)
|
||||
* [XAudio2 API](https://msdn.microsoft.com/library/windows/desktop/hh405049(v=vs.85).aspx)
|
||||
* [IXAPOHrtfParameters](https://msdn.microsoft.com/library/windows/desktop/mt186608(v=vs.85).aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -30,11 +30,11 @@ You can disable functionality that requires accepting this policy by turning off
|
|||
|
||||
## Related topics
|
||||
|
||||
- [Speech recognition](https://msdn.microsoft.com/en-us/library/windows.media.speechrecognition.aspx)
|
||||
- [Speech synthesis](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.speechsynthesis.aspx)
|
||||
- [Speech design guidelines](https://msdn.microsoft.com/en-us/library/windows/apps/dn596121.aspx)
|
||||
- [Speech recognition](https://msdn.microsoft.com/library/windows.media.speechrecognition.aspx)
|
||||
- [Speech synthesis](https://msdn.microsoft.com/library/windows/apps/windows.media.speechsynthesis.aspx)
|
||||
- [Speech design guidelines](https://msdn.microsoft.com/library/windows/apps/dn596121.aspx)
|
||||
- [Speech interactions](https://msdn.microsoft.com/library/windows/apps/mt185614)
|
||||
- [Responding to speech interactions (HTML)](https://msdn.microsoft.com/en-us/library/windows/apps/dn720491.aspx)
|
||||
- [Responding to speech interactions (HTML)](https://msdn.microsoft.com/library/windows/apps/dn720491.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ For a sample that shows how to use a [**StreamSocket**](http://msdn.microsoft.co
|
|||
|
||||
This sample requires that network capabilities be set in the *Package.appxmanifest* file to allow the app to access the network at runtime. These capabilities can be set in the app manifest using Microsoft Visual Studio. For more information on network capabilities, see [How to set network capabilities](http://msdn.microsoft.com/library/windows/apps/hh770532).
|
||||
|
||||
**Note** Network communications using an IP loopback address cannot normally be used for interprocess communication between a UWP app and a different process (a different UWP app or a desktop app) because this is restricted by network isolation. Network communication using an IP loopback address is allowed within the same process for communication purposes in a UWP app. For more information, see [How to enable loopback and troubleshoot network isolation](https://msdn.microsoft.com/en-us/library/windows/apps/hh780593).
|
||||
**Note** Network communications using an IP loopback address cannot normally be used for interprocess communication between a UWP app and a different process (a different UWP app or a desktop app) because this is restricted by network isolation. Network communication using an IP loopback address is allowed within the same process for communication purposes in a UWP app. For more information, see [How to enable loopback and troubleshoot network isolation](https://msdn.microsoft.com/library/windows/apps/hh780593).
|
||||
|
||||
## Related topics
|
||||
|
||||
|
@ -53,7 +53,7 @@ This sample requires that network capabilities be set in the *Package.appxmanife
|
|||
|
||||
[**Windows.Storage.Streams.DataWriter**](http://msdn.microsoft.com/library/windows/apps/br208154)
|
||||
|
||||
[**SocketActivityTrigger**](https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.background.socketactivitytrigger.aspx)
|
||||
[**SocketActivityTrigger**](https://msdn.microsoft.com/library/windows/apps/windows.applicationmodel.background.socketactivitytrigger.aspx)
|
||||
|
||||
### Samples
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
|
|||
|
||||
### Reference
|
||||
|
||||
[ApplicationView class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.viewmanagement.applicationview.aspx)
|
||||
[ApplicationView class](https://msdn.microsoft.com/library/windows/apps/windows.ui.viewmanagement.applicationview.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
|
|||
|
||||
### Reference
|
||||
|
||||
[ApplicationView class](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.viewmanagement.applicationview.aspx)
|
||||
[ApplicationView class](https://msdn.microsoft.com/library/windows/apps/windows.ui.viewmanagement.applicationview.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ to be declared in package manifest.
|
|||
|
||||
### Reference
|
||||
|
||||
[USSD API reference](https://msdn.microsoft.com/en-us/library/windows/apps/windows.networking.networkoperators.aspx)
|
||||
[USSD API reference](https://msdn.microsoft.com/library/windows/apps/windows.networking.networkoperators.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ There are some scenarios that are not available in the JS version but they will
|
|||
Related topics
|
||||
--------------
|
||||
|
||||
[Windows.Media.Playback namespace](https://msdn.microsoft.com/en-us/library/windows/apps/windows.media.playback.aspx)
|
||||
[Windows.Media.Playback namespace](https://msdn.microsoft.com/library/windows/apps/windows.media.playback.aspx)
|
||||
|
||||
System requirements
|
||||
-----------------------------
|
||||
|
|
|
@ -42,7 +42,7 @@ namespace Microsoft.SDKSamples.Kitchen
|
|||
}
|
||||
|
||||
[version(1.0), uuid(699B1394-3CEB-4A14-AE23-EFEC518B088B), exclusiveto(BreadBakedEventArgs)]
|
||||
interface IBreakBakedEventArgs : IInspectable
|
||||
interface IBreadBakedEventArgs : IInspectable
|
||||
{
|
||||
[propget] HRESULT Bread([out, retval] Bread** value);
|
||||
}
|
||||
|
@ -72,7 +72,7 @@ namespace Microsoft.SDKSamples.Kitchen
|
|||
[version(1.0)]
|
||||
runtimeclass BreadBakedEventArgs
|
||||
{
|
||||
[default] interface IBreakBakedEventArgs;
|
||||
[default] interface IBreadBakedEventArgs;
|
||||
}
|
||||
|
||||
[version(1.0), activatable(1.0), activatable(IOvenFactory, 1.0)]
|
||||
|
|
|
@ -69,7 +69,7 @@ namespace ABI { namespace Microsoft { namespace SDKSamples { namespace Kitchen {
|
|||
OvenTemperature _temperature = OvenTemperature::Medium;
|
||||
};
|
||||
|
||||
class BreadBakedEventArgs WrlFinal : public RuntimeClass<IBreakBakedEventArgs>
|
||||
class BreadBakedEventArgs WrlFinal : public RuntimeClass<IBreadBakedEventArgs>
|
||||
{
|
||||
InspectableClass(RuntimeClass_Microsoft_SDKSamples_Kitchen_BreadBakedEventArgs, TrustLevel::BaseTrust)
|
||||
|
||||
|
@ -80,7 +80,7 @@ namespace ABI { namespace Microsoft { namespace SDKSamples { namespace Kitchen {
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
// IBreakBakedEventArgs
|
||||
// IBreadBakedEventArgs
|
||||
STDMETHODIMP get_Bread(_COM_Outptr_ IBread** value) override
|
||||
{
|
||||
return m_bread.CopyTo(value);
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
<Path>Microsoft.SDKSamples.Kitchen.Proxies.dll</Path>
|
||||
<Interface Name="IAppliance" InterfaceId="332fd2f1-1c69-4c91-949e-4bb67a85bdc5" />
|
||||
<Interface Name="IBread" InterfaceId="F13EA3D5-7B24-4CDE-9E5F-57AF30F0733C"/>
|
||||
<Interface Name="IBreakBakedEventArgs" InterfaceId="699b1394-3ceb-4a14-ae23-efec518b088b" />
|
||||
<Interface Name="IBreadBakedEventArgs" InterfaceId="699b1394-3ceb-4a14-ae23-efec518b088b" />
|
||||
<Interface Name="IOven" InterfaceId="6a112353-4f87-4460-a908-2944e92686f3" />
|
||||
<Interface Name="IOvenFactory" InterfaceId="f36c2a21-f4e3-4c39-94ce-eb9190afdab3" />
|
||||
<Interface Name="ITypedEventHandler_Oven_BreadBakedEventArgs" InterfaceId="6582b851-18cc-5835-8c50-d896eedda300" />
|
||||
|
|
|
@ -57,7 +57,7 @@ void OvenClientWRL::Start_Click(Platform::Object^ sender, Windows::UI::Xaml::Rou
|
|||
|
||||
// Declare handlers for event callbacks
|
||||
auto handler1 = Callback<ABI::Windows::Foundation::ITypedEventHandler<ABI::Microsoft::SDKSamples::Kitchen::Oven*, ABI::Microsoft::SDKSamples::Kitchen::BreadBakedEventArgs*>>(
|
||||
[this](ABI::Microsoft::SDKSamples::Kitchen::IOven* pOven, ABI::Microsoft::SDKSamples::Kitchen::IBreakBakedEventArgs* args) -> HRESULT
|
||||
[this](ABI::Microsoft::SDKSamples::Kitchen::IOven* pOven, ABI::Microsoft::SDKSamples::Kitchen::IBreadBakedEventArgs* args) -> HRESULT
|
||||
{
|
||||
HRESULT hr = S_OK;
|
||||
try
|
||||
|
@ -93,7 +93,7 @@ void OvenClientWRL::Start_Click(Platform::Object^ sender, Windows::UI::Xaml::Rou
|
|||
});
|
||||
|
||||
auto handler2 = Callback<ABI::Windows::Foundation::ITypedEventHandler<ABI::Microsoft::SDKSamples::Kitchen::Oven*, ABI::Microsoft::SDKSamples::Kitchen::BreadBakedEventArgs*>>(
|
||||
[this](ABI::Microsoft::SDKSamples::Kitchen::IOven* oven, ABI::Microsoft::SDKSamples::Kitchen::IBreakBakedEventArgs* args) -> HRESULT
|
||||
[this](ABI::Microsoft::SDKSamples::Kitchen::IOven* oven, ABI::Microsoft::SDKSamples::Kitchen::IBreadBakedEventArgs* args) -> HRESULT
|
||||
{
|
||||
HRESULT hr = S_OK;
|
||||
try
|
||||
|
@ -109,7 +109,7 @@ void OvenClientWRL::Start_Click(Platform::Object^ sender, Windows::UI::Xaml::Rou
|
|||
});
|
||||
|
||||
auto handler3 = Callback<ABI::Windows::Foundation::ITypedEventHandler<ABI::Microsoft::SDKSamples::Kitchen::Oven*, ABI::Microsoft::SDKSamples::Kitchen::BreadBakedEventArgs*>>(
|
||||
[this](ABI::Microsoft::SDKSamples::Kitchen::IOven* oven, ABI::Microsoft::SDKSamples::Kitchen::IBreakBakedEventArgs* args) -> HRESULT
|
||||
[this](ABI::Microsoft::SDKSamples::Kitchen::IOven* oven, ABI::Microsoft::SDKSamples::Kitchen::IBreadBakedEventArgs* args) -> HRESULT
|
||||
{
|
||||
// Event handler 3 was removed and will not be invoked
|
||||
HRESULT hr = S_OK;
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
<Path>Microsoft.SDKSamples.Kitchen.Proxies.dll</Path>
|
||||
<Interface Name="IAppliance" InterfaceId="332fd2f1-1c69-4c91-949e-4bb67a85bdc5" />
|
||||
<Interface Name="IBread" InterfaceId="F13EA3D5-7B24-4CDE-9E5F-57AF30F0733C"/>
|
||||
<Interface Name="IBreakBakedEventArgs" InterfaceId="699b1394-3ceb-4a14-ae23-efec518b088b" />
|
||||
<Interface Name="IBreadBakedEventArgs" InterfaceId="699b1394-3ceb-4a14-ae23-efec518b088b" />
|
||||
<Interface Name="IOven" InterfaceId="6a112353-4f87-4460-a908-2944e92686f3" />
|
||||
<Interface Name="IOvenFactory" InterfaceId="f36c2a21-f4e3-4c39-94ce-eb9190afdab3" />
|
||||
<Interface Name="ITypedEventHandler_Oven_BreadBakedEventArgs" InterfaceId="6582b851-18cc-5835-8c50-d896eedda300" />
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
<Path>Microsoft.SDKSamples.Kitchen.Proxies.dll</Path>
|
||||
<Interface Name="IAppliance" InterfaceId="332fd2f1-1c69-4c91-949e-4bb67a85bdc5" />
|
||||
<Interface Name="IBread" InterfaceId="F13EA3D5-7B24-4CDE-9E5F-57AF30F0733C"/>
|
||||
<Interface Name="IBreakBakedEventArgs" InterfaceId="699b1394-3ceb-4a14-ae23-efec518b088b" />
|
||||
<Interface Name="IBreadBakedEventArgs" InterfaceId="699b1394-3ceb-4a14-ae23-efec518b088b" />
|
||||
<Interface Name="IOven" InterfaceId="6a112353-4f87-4460-a908-2944e92686f3" />
|
||||
<Interface Name="IOvenFactory" InterfaceId="f36c2a21-f4e3-4c39-94ce-eb9190afdab3" />
|
||||
<Interface Name="ITypedEventHandler_Oven_BreadBakedEventArgs" InterfaceId="6582b851-18cc-5835-8c50-d896eedda300" />
|
||||
|
|
|
@ -42,7 +42,7 @@ namespace Microsoft.SDKSamples.Kitchen
|
|||
}
|
||||
|
||||
[version(1.0), uuid(699B1394-3CEB-4A14-AE23-EFEC518B088B), exclusiveto(BreadBakedEventArgs)]
|
||||
interface IBreakBakedEventArgs : IInspectable
|
||||
interface IBreadBakedEventArgs : IInspectable
|
||||
{
|
||||
[propget] HRESULT Bread([out, retval] Bread** value);
|
||||
}
|
||||
|
@ -72,7 +72,7 @@ namespace Microsoft.SDKSamples.Kitchen
|
|||
[version(1.0)]
|
||||
runtimeclass BreadBakedEventArgs
|
||||
{
|
||||
[default] interface IBreakBakedEventArgs;
|
||||
[default] interface IBreadBakedEventArgs;
|
||||
}
|
||||
|
||||
[version(1.0), activatable(1.0), activatable(IOvenFactory, 1.0)]
|
||||
|
|
|
@ -69,7 +69,7 @@ namespace ABI { namespace Microsoft { namespace SDKSamples { namespace Kitchen {
|
|||
OvenTemperature _temperature = OvenTemperature::Medium;
|
||||
};
|
||||
|
||||
class BreadBakedEventArgs WrlFinal : public RuntimeClass<IBreakBakedEventArgs>
|
||||
class BreadBakedEventArgs WrlFinal : public RuntimeClass<IBreadBakedEventArgs>
|
||||
{
|
||||
InspectableClass(RuntimeClass_Microsoft_SDKSamples_Kitchen_BreadBakedEventArgs, TrustLevel::BaseTrust)
|
||||
|
||||
|
@ -80,7 +80,7 @@ namespace ABI { namespace Microsoft { namespace SDKSamples { namespace Kitchen {
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
// IBreakBakedEventArgs
|
||||
// IBreadBakedEventArgs
|
||||
STDMETHODIMP get_Bread(_COM_Outptr_ IBread** value) override
|
||||
{
|
||||
return m_bread.CopyTo(value);
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
<Path>Microsoft.SDKSamples.Kitchen.Proxies.dll</Path>
|
||||
<Interface Name="IAppliance" InterfaceId="332fd2f1-1c69-4c91-949e-4bb67a85bdc5" />
|
||||
<Interface Name="IBread" InterfaceId="F13EA3D5-7B24-4CDE-9E5F-57AF30F0733C"/>
|
||||
<Interface Name="IBreakBakedEventArgs" InterfaceId="699b1394-3ceb-4a14-ae23-efec518b088b" />
|
||||
<Interface Name="IBreadBakedEventArgs" InterfaceId="699b1394-3ceb-4a14-ae23-efec518b088b" />
|
||||
<Interface Name="IOven" InterfaceId="6a112353-4f87-4460-a908-2944e92686f3" />
|
||||
<Interface Name="IOvenFactory" InterfaceId="f36c2a21-f4e3-4c39-94ce-eb9190afdab3" />
|
||||
<Interface Name="ITypedEventHandler_Oven_BreadBakedEventArgs" InterfaceId="6582b851-18cc-5835-8c50-d896eedda300" />
|
||||
|
|
|
@ -57,7 +57,7 @@ void OvenClientWRL::Start_Click(Platform::Object^ sender, Windows::UI::Xaml::Rou
|
|||
|
||||
// Declare handlers for event callbacks
|
||||
auto handler1 = Callback<ABI::Windows::Foundation::ITypedEventHandler<ABI::Microsoft::SDKSamples::Kitchen::Oven*, ABI::Microsoft::SDKSamples::Kitchen::BreadBakedEventArgs*>>(
|
||||
[this](ABI::Microsoft::SDKSamples::Kitchen::IOven* pOven, ABI::Microsoft::SDKSamples::Kitchen::IBreakBakedEventArgs* args) -> HRESULT
|
||||
[this](ABI::Microsoft::SDKSamples::Kitchen::IOven* pOven, ABI::Microsoft::SDKSamples::Kitchen::IBreadBakedEventArgs* args) -> HRESULT
|
||||
{
|
||||
HRESULT hr = S_OK;
|
||||
try
|
||||
|
@ -93,7 +93,7 @@ void OvenClientWRL::Start_Click(Platform::Object^ sender, Windows::UI::Xaml::Rou
|
|||
});
|
||||
|
||||
auto handler2 = Callback<ABI::Windows::Foundation::ITypedEventHandler<ABI::Microsoft::SDKSamples::Kitchen::Oven*, ABI::Microsoft::SDKSamples::Kitchen::BreadBakedEventArgs*>>(
|
||||
[this](ABI::Microsoft::SDKSamples::Kitchen::IOven* oven, ABI::Microsoft::SDKSamples::Kitchen::IBreakBakedEventArgs* args) -> HRESULT
|
||||
[this](ABI::Microsoft::SDKSamples::Kitchen::IOven* oven, ABI::Microsoft::SDKSamples::Kitchen::IBreadBakedEventArgs* args) -> HRESULT
|
||||
{
|
||||
HRESULT hr = S_OK;
|
||||
try
|
||||
|
@ -109,7 +109,7 @@ void OvenClientWRL::Start_Click(Platform::Object^ sender, Windows::UI::Xaml::Rou
|
|||
});
|
||||
|
||||
auto handler3 = Callback<ABI::Windows::Foundation::ITypedEventHandler<ABI::Microsoft::SDKSamples::Kitchen::Oven*, ABI::Microsoft::SDKSamples::Kitchen::BreadBakedEventArgs*>>(
|
||||
[this](ABI::Microsoft::SDKSamples::Kitchen::IOven* oven, ABI::Microsoft::SDKSamples::Kitchen::IBreakBakedEventArgs* args) -> HRESULT
|
||||
[this](ABI::Microsoft::SDKSamples::Kitchen::IOven* oven, ABI::Microsoft::SDKSamples::Kitchen::IBreadBakedEventArgs* args) -> HRESULT
|
||||
{
|
||||
// Event handler 3 was removed and will not be invoked
|
||||
HRESULT hr = S_OK;
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
<Path>Microsoft.SDKSamples.Kitchen.Proxies.dll</Path>
|
||||
<Interface Name="IAppliance" InterfaceId="332fd2f1-1c69-4c91-949e-4bb67a85bdc5" />
|
||||
<Interface Name="IBread" InterfaceId="F13EA3D5-7B24-4CDE-9E5F-57AF30F0733C"/>
|
||||
<Interface Name="IBreakBakedEventArgs" InterfaceId="699b1394-3ceb-4a14-ae23-efec518b088b" />
|
||||
<Interface Name="IBreadBakedEventArgs" InterfaceId="699b1394-3ceb-4a14-ae23-efec518b088b" />
|
||||
<Interface Name="IOven" InterfaceId="6a112353-4f87-4460-a908-2944e92686f3" />
|
||||
<Interface Name="IOvenFactory" InterfaceId="f36c2a21-f4e3-4c39-94ce-eb9190afdab3" />
|
||||
<Interface Name="ITypedEventHandler_Oven_BreadBakedEventArgs" InterfaceId="6582b851-18cc-5835-8c50-d896eedda300" />
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
<Path>Microsoft.SDKSamples.Kitchen.Proxies.dll</Path>
|
||||
<Interface Name="IAppliance" InterfaceId="332fd2f1-1c69-4c91-949e-4bb67a85bdc5" />
|
||||
<Interface Name="IBread" InterfaceId="F13EA3D5-7B24-4CDE-9E5F-57AF30F0733C"/>
|
||||
<Interface Name="IBreakBakedEventArgs" InterfaceId="699b1394-3ceb-4a14-ae23-efec518b088b" />
|
||||
<Interface Name="IBreadBakedEventArgs" InterfaceId="699b1394-3ceb-4a14-ae23-efec518b088b" />
|
||||
<Interface Name="IOven" InterfaceId="6a112353-4f87-4460-a908-2944e92686f3" />
|
||||
<Interface Name="IOvenFactory" InterfaceId="f36c2a21-f4e3-4c39-94ce-eb9190afdab3" />
|
||||
<Interface Name="ITypedEventHandler_Oven_BreadBakedEventArgs" InterfaceId="6582b851-18cc-5835-8c50-d896eedda300" />
|
||||
|
|
|
@ -26,7 +26,7 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
|
|||
## Related topics
|
||||
|
||||
Registration of application to use a Microsoft account:
|
||||
[Preparing your account to use Windows Live Services in your Windows Store apps](https://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh770854.aspx)
|
||||
[Preparing your account to use Windows Live Services in your Windows Store apps](https://msdn.microsoft.com/library/windows/apps/xaml/hh770854.aspx)
|
||||
|
||||
Develop Windows Universal Apps with Azure AD and the Windows 10 Identity API:
|
||||
[Using WebAccountManager to Integrate with Azure AD](http://blogs.technet.com/b/ad/archive/2015/08/03/develop-windows-universal-apps-with-azure-ad-and-the-windows-10-identity-api.aspx)
|
||||
|
|
|
@ -24,9 +24,9 @@ Specifically, this sample shows how to:
|
|||
|
||||
<!-- Add links to related API -->
|
||||
|
||||
[Wi-Fi Direct](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.wifidirect.aspx)
|
||||
[Wi-Fi Direct](https://msdn.microsoft.com/library/windows/apps/windows.devices.wifidirect.aspx)
|
||||
|
||||
[Sockets](https://msdn.microsoft.com/en-us/library/windows/apps/windows.networking.sockets.aspx)
|
||||
[Sockets](https://msdn.microsoft.com/library/windows/apps/windows.networking.sockets.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -26,9 +26,9 @@ Specifically, this sample shows how to:
|
|||
|
||||
<!-- Add links to related API -->
|
||||
|
||||
[Wi-Fi Direct Services](https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.wifidirect.services.aspx)
|
||||
[Wi-Fi Direct Services](https://msdn.microsoft.com/library/windows/apps/windows.devices.wifidirect.services.aspx)
|
||||
|
||||
[Sockets](https://msdn.microsoft.com/en-us/library/windows/apps/windows.networking.sockets.aspx)
|
||||
[Sockets](https://msdn.microsoft.com/library/windows/apps/windows.networking.sockets.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -21,11 +21,11 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
|
|||
|
||||
### Reference
|
||||
|
||||
[Image](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.controls.image.aspx)
|
||||
[Image](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.controls.image.aspx)
|
||||
|
||||
[CanvasImageSource](http://microsoft.github.io/Win2D/html/T_Microsoft_Graphics_Canvas_UI_Xaml_CanvasImageSource.htm)
|
||||
|
||||
[BitmapDecoder](https://msdn.microsoft.com/en-us/library/windows/apps/windows.graphics.imaging.bitmapdecoder.aspx)
|
||||
[BitmapDecoder](https://msdn.microsoft.com/library/windows/apps/windows.graphics.imaging.bitmapdecoder.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
|
|||
|
||||
<!-- Add links to related API -->
|
||||
|
||||
[Media Transport Controls](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.controls.mediatransportcontrols.aspx)
|
||||
[Media Transport Controls](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.controls.mediatransportcontrols.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ To obtain information about Windows 10, go to [Windows 10](http://go.microsoft.c
|
|||
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
|
||||
|
||||
## Related topics
|
||||
[ListView and GridView UI optimization](https://msdn.microsoft.com/en-us/library/windows/apps/mt204776.aspx)
|
||||
[ListView and GridView UI optimization](https://msdn.microsoft.com/library/windows/apps/mt204776.aspx)
|
||||
|
||||
### Samples
|
||||
|
||||
|
@ -31,9 +31,9 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
|
|||
|
||||
<!-- Add links to related API -->
|
||||
|
||||
[IItemsRangeInfo](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.data.iitemsrangeinfo.aspx)
|
||||
[IItemsRangeInfo](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.data.iitemsrangeinfo.aspx)
|
||||
|
||||
[ISelectionInfo](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.data.iselectioninfo.aspx)
|
||||
[ISelectionInfo](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.data.iselectioninfo.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
|
|||
|
||||
<!-- Add links to related API -->
|
||||
|
||||
[x:DeferLoadStrategy](https://msdn.microsoft.com/en-us/library/windows/apps/xaml/mt204785.aspx)
|
||||
[x:DeferLoadStrategy](https://msdn.microsoft.com/library/windows/apps/xaml/mt204785.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -25,22 +25,22 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
|
|||
|
||||
<!-- Add links to related API -->
|
||||
|
||||
[ListViewBase.CanDragItems](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.controls.listviewbase.candragitems.aspx)
|
||||
[ListViewBase.CanReorderItems](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.controls.listviewbase.canreorderitems.aspx)
|
||||
[ListViewBase.DragItemsStarting](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.controls.listviewbase.dragitemsstarting.aspx)
|
||||
[ListViewBase.DragItemsCompleted](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.controls.listviewbase.dragitemscompleted.aspx)
|
||||
[DragItemsStartingEventArgs](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.controls.dragitemsstartingeventargs.aspx)
|
||||
[UIElement.AllowDrop](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.uielement.allowdrop.aspx)
|
||||
[UIElement.StartDragAsync](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.uielement.startdragasync.aspx)
|
||||
[UIElement.DragStarting](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.uielement.dragstarting.aspx)
|
||||
[UIElement.DragEnter](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.uielement.dragenter.aspx)
|
||||
[UIElement.DragLeave](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.uielement.dragleave.aspx)
|
||||
[UIElement.Drop](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.uielement.drop.aspx)
|
||||
[DragStartingEventArgs](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.dragstartingeventargs.aspx)
|
||||
[DragEventArgs](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.drageventargs.aspx)
|
||||
[DragUI](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.dragui.aspx)
|
||||
[DragUIOverride](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.draguioverride.aspx)
|
||||
[DragOperationDeferral](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.dragoperationdeferral.aspx)
|
||||
[ListViewBase.CanDragItems](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.controls.listviewbase.candragitems.aspx)
|
||||
[ListViewBase.CanReorderItems](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.controls.listviewbase.canreorderitems.aspx)
|
||||
[ListViewBase.DragItemsStarting](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.controls.listviewbase.dragitemsstarting.aspx)
|
||||
[ListViewBase.DragItemsCompleted](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.controls.listviewbase.dragitemscompleted.aspx)
|
||||
[DragItemsStartingEventArgs](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.controls.dragitemsstartingeventargs.aspx)
|
||||
[UIElement.AllowDrop](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.uielement.allowdrop.aspx)
|
||||
[UIElement.StartDragAsync](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.uielement.startdragasync.aspx)
|
||||
[UIElement.DragStarting](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.uielement.dragstarting.aspx)
|
||||
[UIElement.DragEnter](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.uielement.dragenter.aspx)
|
||||
[UIElement.DragLeave](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.uielement.dragleave.aspx)
|
||||
[UIElement.Drop](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.uielement.drop.aspx)
|
||||
[DragStartingEventArgs](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.dragstartingeventargs.aspx)
|
||||
[DragEventArgs](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.drageventargs.aspx)
|
||||
[DragUI](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.dragui.aspx)
|
||||
[DragUIOverride](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.draguioverride.aspx)
|
||||
[DragOperationDeferral](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.dragoperationdeferral.aspx)
|
||||
|
||||
|
||||
## System requirements
|
||||
|
|
|
@ -32,9 +32,9 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
|
|||
|
||||
<!-- Add links to related API -->
|
||||
|
||||
[ListView](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.controls.listview.aspx)
|
||||
[ListView](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.controls.listview.aspx)
|
||||
|
||||
[GridView](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.controls.gridview.aspx)
|
||||
[GridView](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.controls.gridview.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
# Master/detail sample
|
||||
|
||||
This sample shows how to implement a responsive master/detail experience in XAML. In the [master/detail pattern](https://msdn.microsoft.com/en-us/library/windows/apps/dn997765.aspx), a master list is used to select an item that will then appear in a detail view.
|
||||
This sample shows how to implement a responsive master/detail experience in XAML. In the [master/detail pattern](https://msdn.microsoft.com/library/windows/apps/dn997765.aspx), a master list is used to select an item that will then appear in a detail view.
|
||||
|
||||
When the app view is sufficiently wide, the master list and detail view should appear side by side in the same app page. However, on smaller screen sizes, the two pieces of UI should appear on different pages, allowing the user to navigate between them. This sample shows how to implement these experiences and adaptively switch between them based on the size of the screen.
|
||||
|
||||
|
@ -31,9 +31,9 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
|
|||
|
||||
### Reference
|
||||
|
||||
[VisualState](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.visualstate.aspx)
|
||||
[VisualState](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.visualstate.aspx)
|
||||
|
||||
[NavigationThemeTransition](https://msdn.microsoft.com/en-us/library/windows/apps/xaml/windows.ui.xaml.media.animation.navigationthemetransition.aspx)
|
||||
[NavigationThemeTransition](https://msdn.microsoft.com/library/windows/apps/xaml/windows.ui.xaml.media.animation.navigationthemetransition.aspx)
|
||||
|
||||
|
||||
## System requirements
|
||||
|
|
|
@ -17,9 +17,9 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
|
|||
|
||||
<!-- Add links to related API -->
|
||||
|
||||
[Pivot control](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.controls.pivot.aspx)
|
||||
[Pivot control](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.controls.pivot.aspx)
|
||||
|
||||
[SplitView control](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.controls.splitview.aspx)
|
||||
[SplitView control](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.controls.splitview.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -26,11 +26,11 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
|
|||
|
||||
### Reference
|
||||
|
||||
[UIElement.Transform3D](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.uielement.transform3d.aspx)
|
||||
[UIElement.Transform3D](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.uielement.transform3d.aspx)
|
||||
|
||||
[PerspectiveTransform3D](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.media.media3d.perspectivetransform3d.aspx)
|
||||
[PerspectiveTransform3D](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.media.media3d.perspectivetransform3d.aspx)
|
||||
|
||||
[CompositeTransform3D](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.media.media3d.compositetransform3d.aspx)
|
||||
[CompositeTransform3D](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.media.media3d.compositetransform3d.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -26,11 +26,11 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
|
|||
|
||||
### Reference
|
||||
|
||||
[UIElement.Transform3D](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.uielement.transform3d.aspx)
|
||||
[UIElement.Transform3D](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.uielement.transform3d.aspx)
|
||||
|
||||
[PerspectiveTransform3D](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.media.media3d.perspectivetransform3d.aspx)
|
||||
[PerspectiveTransform3D](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.media.media3d.perspectivetransform3d.aspx)
|
||||
|
||||
[CompositeTransform3D](https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.media.media3d.compositetransform3d.aspx)
|
||||
[CompositeTransform3D](https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.media.media3d.compositetransform3d.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -110,21 +110,20 @@
|
|||
<RichTextBlock>
|
||||
<Paragraph><ListView ItemsSource="{x:Bind Groups}"</Paragraph>
|
||||
<Paragraph TextIndent="36">ItemTemplate="{StaticResource
|
||||
<Run x:Name="itemTemplate">ImageTextListTemplate</Run> }"
|
||||
<Run x:Name="itemTemplate">ImageTextListTemplate</Run>}"
|
||||
</Paragraph>
|
||||
<Paragraph TextIndent="36">IsItemClickEnabled="
|
||||
<Run Text="{x:Bind Control1.IsItemClickEnabled, Converter={StaticResource valueToStringConverter}, Mode=OneWay}"></Run> "
|
||||
<Paragraph TextIndent="36">
|
||||
IsItemClickEnabled="<Run Text="{x:Bind Control1.IsItemClickEnabled, Converter={StaticResource valueToStringConverter}, Mode=OneWay}"></Run>"
|
||||
</Paragraph>
|
||||
<Paragraph TextIndent="36">IsSwipeEnabled="
|
||||
<Run Text="{x:Bind Control1.IsSwipeEnabled, Converter={StaticResource valueToStringConverter}, Mode=OneWay}"/> "
|
||||
<Paragraph TextIndent="36">
|
||||
IsSwipeEnabled="<Run Text="{x:Bind Control1.IsSwipeEnabled, Converter={StaticResource valueToStringConverter}, Mode=OneWay}"/>"
|
||||
</Paragraph>
|
||||
<Paragraph TextIndent="36">CanDragItems="
|
||||
<Run Text="{x:Bind Control1.CanDragItems, Converter={StaticResource valueToStringConverter}, Mode=OneWay}"/> "
|
||||
<Paragraph TextIndent="36">
|
||||
CanDragItems="<Run Text="{x:Bind Control1.CanDragItems, Converter={StaticResource valueToStringConverter}, Mode=OneWay}"/>"
|
||||
</Paragraph>
|
||||
<Paragraph TextIndent="36">SelectionMode="
|
||||
<Run Text="{x:Bind Control1.SelectionMode, Converter={StaticResource valueToStringConverter}, Mode=OneWay}"/> "
|
||||
<Paragraph TextIndent="36">
|
||||
SelectionMode="<Run Text="{x:Bind Control1.SelectionMode, Converter={StaticResource valueToStringConverter}, Mode=OneWay}"/>" />
|
||||
</Paragraph>
|
||||
<Paragraph></ListView></Paragraph>
|
||||
</RichTextBlock>
|
||||
</local:ControlExample.Xaml>
|
||||
</local:ControlExample>
|
||||
|
|
|
@ -23,7 +23,7 @@ Specifically, this sample covers:
|
|||
|
||||
[Windows.Data.Xml.Dom.XmlDocument](https://msdn.microsoft.com/library/windows/apps/br206173)
|
||||
|
||||
[Windows.Data.Xml.Xsl.XsltProcessor](https://msdn.microsoft.com/en-us/library/windows/apps/windows.data.xml.xsl.xsltprocessor.aspx)
|
||||
[Windows.Data.Xml.Xsl.XsltProcessor](https://msdn.microsoft.com/library/windows/apps/windows.data.xml.xsl.xsltprocessor.aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
|
@ -15,9 +15,9 @@ Specifically, this sample covers:
|
|||
|
||||
## Related topics
|
||||
|
||||
[IXmlReader](https://msdn.microsoft.com/en-us/library/windows/desktop/ms752743(v=vs.85).aspx)
|
||||
[IXmlReader](https://msdn.microsoft.com/library/windows/desktop/ms752743(v=vs.85).aspx)
|
||||
|
||||
[IXmlWriter](https://msdn.microsoft.com/en-us/library/windows/desktop/ms752860(v=vs.85).aspx)
|
||||
[IXmlWriter](https://msdn.microsoft.com/library/windows/desktop/ms752860(v=vs.85).aspx)
|
||||
|
||||
## System requirements
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче