StackPeerBuilder(clazz: Class<in T>, peerRole: PeerRole, stackConfig: StackConfig, buildStackPeer: (BluetoothAddressNodeKey) -> StackPeer<T>)
Builds a StackPeer with a String key
clazz
- The Class of the StackService to use with this StackPeer
stackConfig
- the StackConfig of the StackPeer's Stack
buildStackPeer
- function for building a StackPeer