FirebaseDataConnect.MutationRefOptionsBuilder

interface FirebaseDataConnect.MutationRefOptionsBuilder<Data : Any?, Variables : Any?>


Options that can be specified when creating a MutationRef via the mutation method.

Summary

Public properties

FirebaseDataConnect.CallerSdkType?

The calling SDK information to apply to all operations executed by the corresponding MutationRef object.

SerializersModule?

A SerializersModule to use when decoding the mutation's response data.

SerializersModule?

A SerializersModule to use when encoding the mutation's variables.

Public properties

callerSdkType

var callerSdkType: FirebaseDataConnect.CallerSdkType?

The calling SDK information to apply to all operations executed by the corresponding MutationRef object. May be null (the default) in which case CallerSdkType.Base will be used.

dataSerializersModule

var dataSerializersModule: SerializersModule?

A SerializersModule to use when decoding the mutation's response data. May be null (the default) to not use a SerializersModule when decoding the response data.

variablesSerializersModule

var variablesSerializersModule: SerializersModule?

A SerializersModule to use when encoding the mutation's variables. May be null (the default) to use some unspecified SerializersModule when encoding the variables.