StitchPush

public protocol StitchPush

StitchPush can be used to get clients that can register for push notifications via Stitch.

  • Gets a push client for the push service associated with the specified name and factory.

    Declaration

    Swift

    func client<T>(fromFactory factory: AnyNamedPushClientFactory<T>, withName serviceName: String) -> T

    Parameters

    fromFactory

    The factory that will create a client for the push service. Each service that offers the capability of registering for push notifications will offer a static factory.

    serviceName

    the name of the push service

    Return Value

    A client to interact with the push service.