title: Set a combination of Vibration, Lights or Sound for a notification in android
body: <p>I wan to provide the user with the option of choosing Lights, Sounds or Vibration or a combination of these three for alerts on <code>Notification</code>.</p>
  
  <p>In android docs I saw that there is an option of <code>DEFAULT_ALL</code> where in all the three methods of alerts will be used.</p>
  
  <p>Else there is an option choosing any one of them (<code>DEFAULT_LIGHTS</code>, <code>DEFAULT_VIBRATE</code>, <code>DEFAULT_SOUND</code>).</p>
  
  <p>Is there any way by which a combination of for example <code>SOUND</code> and <code>VIBRATION</code> but no <code>LIGHTS</code> and other combinations can be made? </p>
  
  <hr>
  
  <p><strong>EDIT</strong></p>
  
  <p><code>Notification.Builder's</code> (from prolink007's answer) method <code>setDefaults(int default)</code> says that: </p>
  
  <blockquote>
    <p>The value should be one or more of the following fields combined with <strong>bitwise-or</strong>: DEFAULT_SOUND, DEFAULT_VIBRATE, DEFAULT_LIGHTS.</p>
  </blockquote>
  
  <p>How should this be used?</p>