pub fn new(id: u64, accessory_id: u64) -> Self {
        #[allow(unused_mut)]
        let mut c = Self(Characteristic::<Vec<u8>> {
            id,
            accessory_id,
            hap_type: HapType::SupportedRtpConfiguration,
            format: Format::Tlv8,
            perms: vec![
				Perm::PairedRead,
            ],
            ..Default::default()
        });

        if let Some(ref min_value) = &c.0.min_value {
            c.0.value = min_value.clone();
        } else if let Some(ref valid_values) = &c.0.valid_values {
            if valid_values.len() > 0 {
                c.0.value = valid_values[0].clone();
            }
        }

        c
    }
/// Creates a new Supported RTP Configuration characteristic.
Creates a new Supported RTP Configuration characteristic.
Creates a new Supported RTP Configuration characteristic .
pub fn new(id: u64, accessory_id: u64) -> Self {
        #[allow(unused_mut)]
        let mut c = Self(Characteristic::<Vec<u8>> {
            id,
            accessory_id,
            hap_type: HapType::SupportedRtpConfiguration,
            format: Format::Tlv8,
            perms: vec![
				Perm::PairedRead,
            ],
            ..Default::default()
        });
        if let Some(ref min_value) = &c.0.min_value {
            c.0.value = min_value.clone();
        } else if let Some(ref valid_values) = &c.0.valid_values {
            if valid_values.len() > 0 {
                c.0.value = valid_values[0].clone();
            }
        }
        c
    }
pub fn new ( id : u64 , accessory_id : u64 ) -> Self { # [ allow ( unused_mut ) ] let mut c = Self ( Characteristic :: < Vec < u8 > > { id , accessory_id , hap_type : HapType :: SupportedRtpConfiguration , format : Format :: Tlv8 , perms : vec ! [ Perm PairedRead ] , .. Default :: default ( ) } ) ; if let Some ( ref min_value ) = & c . 0 . min_value { c . 0 . value = min_value . clone ( ) ; } else if let Some ( ref valid_values ) = & c . 0 . valid_values { if valid_values . len ( ) > 0 { c . 0 . value = valid_values [ 0 ] . clone ( ) ; } } c }
Creates a new Supported RTP Configuration characteristic.
Creates a new Supported RTP Configuration characteristic .
id
u64
accessory_id
u64
id
u64
accessory_id
u64