public static void register(@NonNull Context context) {
    LocalBroadcastManager.getInstance(context).registerReceiver(new TokenChangeBroadcastReceiver(),
      new IntentFilter(MapboxTelemetryConstants.ACTION_TOKEN_CHANGED));
  }
public static void register ( @ NonNull Context context ) { LocalBroadcastManager . getInstance ( context ) . registerReceiver ( new TokenChangeBroadcastReceiver ( ) , new IntentFilter ( MapboxTelemetryConstants . ACTION_TOKEN_CHANGED ) ) ; }
Register receiver with local broadcast manager.

@param context valid context.