SCPInternetDiscoveryConfigurationBuilder

Objective-C


@interface SCPInternetDiscoveryConfigurationBuilder
    : SCPBuilder <SCPInternetDiscoveryConfiguration *>

Swift

class InternetDiscoveryConfigurationBuilder : SCPBuilder<InternetDiscoveryConfiguration>

Builder class for SCPInternetDiscoveryConfiguration

Example usage:

[[[SCPInternetDiscoveryConfigurationBuilder new] setLocationId:@"tml_123"] build]

try InternetDiscoveryConfigurationBuilder().setLocationId("tml_123").build()

  • Set the simulated property for the discovery configuration that will be built

    Declaration

    Objective-C

    - (nonnull SCPInternetDiscoveryConfigurationBuilder *)setSimulated:
        (BOOL)simulated;

    Swift

    func setSimulated(_ simulated: Bool) -> InternetDiscoveryConfigurationBuilder
  • Set the locationId property for the discovery configuration that will be built

    Declaration

    Objective-C

    - (nonnull SCPInternetDiscoveryConfigurationBuilder *)setLocationId:
        (nullable NSString *)locationId;

    Swift

    func setLocationId(_ locationId: String?) -> InternetDiscoveryConfigurationBuilder
  • Set the timeout value for the discovery configuration that will be built

    Declaration

    Objective-C

    - (nonnull SCPInternetDiscoveryConfigurationBuilder *)setTimeout:
        (NSUInteger)timeout;

    Swift

    func setTimeout(_ timeout: UInt) -> InternetDiscoveryConfigurationBuilder