parameters: (self)
return_statement: return support_kef
docstring: Flag media player features that are supported.
docstring_summary: Flag media player features that are supported.
docstring_tokens: Flag media player features that are supported .
function: def supported_features(self):
          """Flag media player features that are supported."""
          support_kef = (
              SUPPORT_VOLUME_SET
              | SUPPORT_VOLUME_STEP
              | SUPPORT_VOLUME_MUTE
              | SUPPORT_SELECT_SOURCE
              | SUPPORT_TURN_OFF
              | SUPPORT_NEXT_TRACK  # only in Bluetooth and Wifi
              | SUPPORT_PAUSE  # only in Bluetooth and Wifi
              | SUPPORT_PLAY  # only in Bluetooth and Wifi
              | SUPPORT_PREVIOUS_TRACK  # only in Bluetooth and Wifi
          )
          if self._supports_on:
              support_kef |= SUPPORT_TURN_ON
  
          return support_kef
function_tokens: def supported_features ( self ) : support_kef = ( SUPPORT_VOLUME_SET | SUPPORT_VOLUME_STEP | SUPPORT_VOLUME_MUTE | SUPPORT_SELECT_SOURCE | SUPPORT_TURN_OFF | SUPPORT_NEXT_TRACK # only in Bluetooth and Wifi | SUPPORT_PAUSE # only in Bluetooth and Wifi | SUPPORT_PLAY # only in Bluetooth and Wifi | SUPPORT_PREVIOUS_TRACK # only in Bluetooth and Wifi ) if self . _supports_on : support_kef |= SUPPORT_TURN_ON return support_kef