ProjectionW3WObject

Objective-C


@interface ProjectionW3WObject : ProjectionObject

Swift

class ProjectionW3WObject

This class encapsulates W3W projection information.

  • Initializes and returns a newly allocated object using the token parameter.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithToken:(nonnull NSString *)token;

    Swift

    init!(token: Any!)
  • Set the user token for WhatThreeWords API.

    Declaration

    Objective-C

    - (void)setToken:(nonnull NSString *)token;

    Swift

    func setToken(_ token: Any!)
  • Get the user token for WhatThreeWords API.

    Declaration

    Objective-C

    - (nonnull NSString *)getToken;

    Swift

    func getToken() -> Any!
  • Set the three words location.

    Declaration

    Objective-C

    - (void)setWords:(nonnull NSString *)whatThreeWords;

    Swift

    func setWords(_ whatThreeWords: Any!)
  • Get the three words location.

    Declaration

    Objective-C

    - (nonnull NSString *)getWords;

    Swift

    func getWords() -> Any!