FBAppLinkData.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*
  2. * Copyright 2010-present Facebook.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. #import <Foundation/Foundation.h>
  17. /*!
  18. @abstract This class contains information that represents an App Link from Facebook.
  19. */
  20. @interface FBAppLinkData : NSObject
  21. /*! @abstract The target */
  22. @property (readonly) NSURL *targetURL;
  23. /*! @abstract List of the types of actions for this target */
  24. @property (readonly) NSArray *actionTypes;
  25. /*! @abstract List of the ids of the actions for this target */
  26. @property (readonly) NSArray *actionIDs;
  27. /*! @abstract Reference breadcrumb provided during creation of story */
  28. @property (readonly) NSString *ref;
  29. /*! @abstract User Agent string set by the referer */
  30. @property (readonly) NSString *userAgent;
  31. /*! @abstract Referer data is a JSON object set by the referer with referer-specific content */
  32. @property (readonly) NSDictionary *refererData;
  33. /*! @abstract Full set of query parameters for this app link */
  34. @property (readonly) NSDictionary *originalQueryParameters;
  35. /*! @abstract Original url from which applinkData was extracted */
  36. @property (readonly) NSURL *originalURL;
  37. /*! @abstract Addtional arguments supplied with the App Link data. */
  38. @property (readonly) NSDictionary *arguments;
  39. @end