Table of contents
TOC
Collapse the table of content
Expand the table of content

Settings for capture mode, burst support, and burst storage duration

Last Updated: 12/12/2016

OEMs can configure burst support on the device, the default capture mode, and the default number of days to store the bursts captured on the device.

Constraints: ImageTimeOnly

Instructions:

  1. Create a customization answer file using the contents shown in the following code sample.

    ``` syntax <?xml version="1.0" encoding="utf-8" ?>

   <Settings Path="Photos/OEM">  
      <Setting Name="BurstSupported" Value="" />  
      <Setting Name="CaptureMode" Value="" />  
      <Setting Name="DefaultBurstStorageDuration" Value="" />  
   </Settings> 

  </Static>

</ImageCustomizations>
```
  1. Specify an Owner.

  2. To configure burst support on the device, set BurstSupported to one of the following values:

    ValueDescription

    1 or 'True, supported'

    Burst is supported.

    This is the default value set by the OS.

    0 or 'False, not supported'

    Burst is not supported.

  3. To configure the default capture mode on the device, set CaptureMode to one of the following values:

    ValueDescription

    1 or 'Burst'

    Burst capture mode.

    This is the default value set by the OS.

    0 or 'Single shot'

    Single shot capture mode.

  4. To configure the default number of days to store the bursts captured on the device, set DefaultBurstStorageDuration to the number of days you want to keep the bursts on the device. For example, a value of 1 means the bursts will be kept for 1 day.

    Microsoft recommends using any of these values: 1, 3, 7 (the default value set by the OS), or 14. A value of 0 indicates that bursts will be stored forever.

Testing steps:

  1. Flash a build containing this customization to a phone.

  2. Launch the camera app.

  3. To verify the support for burst mode, check if the burst icon is displayed on the right of the settings bar when the camera app is launched.

  4. To verify the default capture mode, check whether single shot or burst mode is selected the first time the camera app was launched. The default should match the value that you specified. For example, if you selected single shot, the camera icon on the right should be twice as big as the other icons.

  5. To verify the default burst storage duration, go to the camera Settings screen, choose photo settings…, and verify if the default value specified in the Keep unsaved burst photos for field matches the value that you specified.

Send comments about this topic to Microsoft

© 2017 Microsoft