Support Home > SDK Integration > SDK – KochavaTracker > Class – KochavaTracker > Instance Method – handleWatchEvents

Instance Method – handleWatchEvents

  • Instance Method

    handleWatchEvents()

    Associates an Apple Watch with your host.


    Declaration

    Overview

    This method should be called once to associate an Apple Watch to your host. There is no harm in calling the method more than once.

    Discussion

    This method should be viewed as functionally equivalent to calling the method instance method handleWatchEvents(withWatchIdString:) with a watchIdString of nil. See the related documentation for a full discussion.

     

    Sample Code:

     

    See Also

    Related Symbols func handleWatchEvents(withWatchIdString: String?)

    Associates an Apple Watch which has a specific watch identifier with your host.

    Related Documentation framework Watch Connectivity

    Coordinate activities between your iOS app and your corresponding Watch app.

  • Instance Method

    handleWatchEvents

    Associates an Apple Watch with your host.


    Declaration

    Overview

    This method should be called once to associate an Apple Watch to your host. There is no harm in calling the method more than once.

    Discussion

    This method should be viewed as functionally equivalent to calling the method instance method handleWatchEventsWithWatchIdString with a watchIdString of nil. See the related documentation for a full discussion.

     

    Sample Code:

     

    See Also

    Related Symbols -handleWatchEventsWithWatchIdString:

    Associates an Apple Watch which has a specific watch identifier with your host.

    Related Documentation framework Watch Connectivity

    Coordinate activities between your iOS app and your corresponding Watch app.

 
 

Last Modified: Jul 12, 2018 at 8:30 am