/// Specifies services UUIDs making the central manager return only peripherals that advertise
/// these services.
Specifies services UUIDs making the central manager return only peripherals that advertise
these services.
Specifies services UUIDs making the central manager return only peripherals that advertise these services .
pub fn include_services(mut self, uuids: &[Uuid]) -> Self {
        if self.service_cbuuids.is_none() {
            self.service_cbuuids = Some(NSArray::with_capacity(uuids.len()).retain());
        }
        for &uuid in uuids {
            self.service_cbuuids.as_ref().unwrap().push(CBUUID::from_uuid(uuid));
        }
        self
    }
pub fn include_services ( mut self , uuids : & [ Uuid ] ) -> Self { if self . service_cbuuids . is_none ( ) { self . service_cbuuids = Some ( NSArray :: with_capacity ( uuids . len ( ) ) . retain ( ) ) ; } for & uuid in uuids { self . service_cbuuids . as_ref ( ) . unwrap ( ) . push ( CBUUID :: from_uuid ( uuid ) ) ; } self }
Specifies services UUIDs making the central manager return only peripherals that advertise
these services.
Specifies services UUIDs making the central manager return only peripherals that advertise these services .
mut self
uuids
&[Uuid]