API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

AEEBTAVRCPNOTIFICATION

Brew Release
Brew MP 1.0.2
Description
Notification data
Members
  • externalDevStatus           : Status of external device. It can have two values
                                     AEEBTAVRCP_SYSTEM_STATUS_ON
                                     AEEBTAVRCP_SYSTEM_STATUS_OFF
  • absoluteVolume              : Absolute volume of the client. It is represented 
                                     in one octet. The top bit (bit 7) is reserved for 
                                     future definition. The volume is specified as a 
                                     percentage of the maximum. The value 0x0 
                                     corresponds to 0%. The value 0x7F corresponds 
                                     to 100%. Scaling should be applied to achieve 
                                     values between these two.
  • playStatus                  : Play status of current track
  • curPosition                 : Current position of the track in milliseconds
  • songLength                  : Length of track in milliseconds
  • mediaElementId              : Unique Identifier of the track. If no track is selected
                                     then the value of this parameter shall be 0xFFFFFFFFFFFFFFFF
  • trackEnd                    : If track has reached end.
  • trackStart                  : If track has started.
  • trackChange                 : If current track has changed
  • attrSettingsChange          : If attribute current settings have changed
Definition
  •    struct AEEBTAVRCPNotification
       {
          AEEBTAVRCPSystemStatusType externalDevStatus;
          uint8 absoluteVolume;
          AEEBTAVRCPPlayStatusType playStatus;
          uint32 curPosition;
          uint32 songLength;
          uint64 mediaElementId;
          boolean trackEnd;
          boolean trackStart;
          boolean trackChange;
          boolean attrSettingsChange;
       };
    
Comments
None