FRDIntentForResultSendable

@objc public protocol FRDIntentForResultSendable

The protocol to abstract the view controller tha can send the Intent for request a result from the destination.

  • When the result return, this method will be called.

    Declaration

    Swift

    func onControllerResult(requestCode: Int, resultCode: FRDResultCode, data: FRDIntent)

    Parameters

    requestCode

    The integer request code originally supplied to startControllerForResult(), allowing you to identify who this result came from.

    resultCode

    The result code returned by the child conroller.

    intent

    An Intent, which can return result data to the caller (various data can be attached to Intent “extras”).