FBDialogsData.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  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
  19. This class encapsulates state and data related to the presentation and completion
  20. of a dialog.
  21. */
  22. @interface FBDialogsData : NSObject
  23. /*! @abstract The method being performed */
  24. @property (nonatomic, readonly) NSString *method;
  25. /*! @abstract The arguments being passed to the entity that will show the dialog */
  26. @property (nonatomic, readonly) NSDictionary *arguments;
  27. /*! @abstract Client JSON state that is passed through to the completion handler for context */
  28. @property (nonatomic, readonly) NSDictionary *clientState;
  29. /*! @abstract Results of this FBAppCall that are only set before calling an FBAppCallHandler */
  30. @property (nonatomic, readonly) NSDictionary *results;
  31. @end