Swift SDK Version
v0.3.1
Swift SDK
  • Common
    • AccessToken
    • UserProfile
    • – FetchResult
    • – PictureView
    • – PictureAspectRatio
    • SDKSettings
    • SDKLoggingBehavior
    • SDKVersion
  • App Events
    • AppEvent
    • AppEventName
    • AppEventParameterName
    • AppEventsLogger
    • – FlushBehavior
    • AppEventLoggable
    • AppEventParameterValueType
  • Facebook Permissions
    • Permission
    • ReadPermission
    • PublishPermission
  • Graph API
    • GraphRequest
    • GraphRequestProtocol
    • GraphRequestResult
    • GraphRequestHTTPMethod
    • GraphResponse
    • GraphResponseProtocol
    • GraphRequestConnection
    • GraphRequestDataAttachment
  • Other Classes
    • SDKApplicationDelegate
  • Other Extensions
    • FloatLiteralType
    • IntegerLiteralType
    • NSNumber
    • String
  • Other Structures
    • GraphAPIVersion

GraphRequestResult

publicenumGraphRequestResult<T>whereT:GraphRequestProtocol
Represents result of a single request. Can either be .success or .failed
  • success
    Represents succesful result of a GraphRequestProtocol. Encapsulates response from the server.

    Declaration

    Swift
    casesuccess(response:T.Response)
    Show on GitHub
  • failed
    Represents errored result of a GraphRequestProtocol. Encapsulates error that was encountered.

    Declaration

    Swift
    casefailed(Error)
    Show on GitHub